- Thu Sep 12, 2019 5:39 am
I recommend using the more recent version https://github.com/orgua/OneWire
still there is the problem with
ARDUINO_ARCH_ESP8266 vs ESP8266 (may also be true for ESP32)
nevertheless it has some real errors and minor quirks fixed/removed and works fine on AVR and ESP8266 even with iButtons (parasitic power mode not fully tested yet, DS18B20 missing).
Be aware that examples won't work with some ancient (non multidrop bus compatible) onewire/ibutton devices that don't (correctly) support 0xF0 rom_search (or new 0x33 rom read vs. old 0x0F) e.g. vintage DS2400 serialnumber or act erratic for DS2400 compatibility (DS2401, DS2405)
n.b.: several "original DS18B20" I tested from china suppliers seem to be just "clones". Allthough they work ok in standard powered mode, the totally fail in parasitic powered mode and just clamp the bus to "low".