MCPcopy Create free account
hub / github.com/DanielOgorchock/ST_Anything / OneWire

Method OneWire

Arduino/libraries/OneWire/OneWire.cpp:145–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143
144
145OneWire::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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected