Re: OneWire issue?
Posted: Tue Sep 03, 2019 2:34 am
maybe it is just related to the fact that OW lib relies on ARDUINO_ARCH_ESP8266 being set to determine esp.
As this is not the case (only ESP8266 defined) it falls through to "general case" as the warning states:
Try changing ARDUINO_ARCH_ESP8266 to ESP8266 in OneWire_direct_gpio.h and OneWire_direct_regtype.h
Edit: it's working for me on 2.4.2 with DS18B20
As this is not the case (only ESP8266 defined) it falls through to "general case" as the warning states:
OneWire. Fallback mode. Using API calls for pinMode,digitalRead and digitalWrite. Operation of this library is not guaranteed on this architecture.
Try changing ARDUINO_ARCH_ESP8266 to ESP8266 in OneWire_direct_gpio.h and OneWire_direct_regtype.h
Edit: it's working for me on 2.4.2 with DS18B20