Chat freely about anything...

User avatar
By gmc
#61008 I've got a nodemcu and running the Arduino IDE.
Got a DS18B20 temp sensor connected to D0 using the DallasTemperature and Onewire library.

For some reason I cannot get it working on D0 - work on every other pin D1/D2 etc.

The problem is the only pin I have spare in my project is D0. Is this a limitation of the D0 pin? Or could it be an issue with the IDE/libaries?

Update: Found the answer. Amazing how it alwys happens after you post.

https://nodemcu.readthedocs.io/en/maste ... ules/gpio/

[*] D0(GPIO16) can only be used as gpio read/write. No support for open-drain/interrupt/pwm/i2c/ow.