OneWireNoResistor
OneWireNoResistor copied to clipboard
Additional change is required
need to change the pinmode in the ::begin or it doesn't pull up!
void OneWire::begin(uint8_t pin)
{
pinMode(pin, INPUT_PULLUP); // need to make this change or doesn't pull up
bitmask = PIN_TO_BITMASK(pin);
baseReg = PIN_TO_BASEREG(pin);
#if ONEWIRE_SEARCH
reset_search();
#endif
}