Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By jimmayhugh
#23128 Make sure that you are using the correct onewire library. You mentioned that you've had it working with the arduino. The ESP8266 has its own onewire library. In my debian configuration it's at:
.arduino15/packages/esp8266/hardware/esp8266/1.6.4-673-g8cd3697/libraries/OneWire/
User avatar
By mogu
#23226 @jimmayhugh, at first I use the lib from https://www.pjrc.com/teensy/td_libs_OneWire.html having compile error after that I replaced it with lib from esp8266 arduino IDE https://github.com/esp8266/Arduino

I'm aware of the esp8266 lib location and have remove all onewire lib except the one I downloaded to avoid confusion.

@torntrousers, will test GPIO4 when I got home.

Thanks both for the help, hopefully will solve this issue.
Will update once I have done the test.