Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By Albtross
#17959 With the latest update, I keep getting a reboot when trying to initialize the Dallas temperature library. I have this problem with my previously working code as well as example Dallas Temperature code.

I've narrowed the problem down to a line in the OneWire library reset function:
DIRECT_MODE_INPUT(reg, mask);

Upon hitting this line of code, my ESP-12 will reset every time. If I go back to an older ESP8266 Arduino add-on everything works fine.

Does anyone have any ideas on how to get around this issue?
User avatar
By Albtross
#18010 Problem resolved. I just needed a different OneWire library. It would have been a lot easier to find the right library, if there were comments in the files. Instead I ran across 5 or 6 different versions with no version numbers or comments of any kind.
User avatar
By j0hncc
#18062
Albtross wrote:Problem resolved. I just needed a different OneWire library. It would have been a lot easier to find the right library, if there were comments in the files. Instead I ran across 5 or 6 different versions with no version numbers or comments of any kind.


Sooo, which one was the right library?
User avatar
By Albtross
#18616 I've been out of town, so sorry for the delay.

I intended to include the link in my previous post, but I downloaded so many trying to find the right one, it took me a while to determine which one came from where.

Here is the one that worked.

https://github.com/sandeepmistry/esp826 ... es/OneWire