| 143 | |
| 144 | |
| 145 | OneWire::OneWire(uint8_t pin) |
| 146 | { |
| 147 | pinMode(pin, INPUT); |
| 148 | bitmask = PIN_TO_BITMASK(pin); |
| 149 | baseReg = PIN_TO_BASEREG(pin); |
| 150 | #if ONEWIRE_SEARCH |
| 151 | reset_search(); |
| 152 | #endif |
| 153 | } |
| 154 | |
| 155 | |
| 156 | // Perform the onewire reset function. We will wait up to 250uS for |
nothing calls this directly
no outgoing calls
no test coverage detected