Questions with regards to ESP8266 Basic and hardware interfacing and control via Basic commands

Moderator: Mmiscool

User avatar
By siddharthtaunk
#62206 Hi,

I have written the following code for retrieveing the temperature data from DS18B20.

Code: Select allcls
button "READ TEMP",[BUTTON]
wait

[BUTTON]
bla = temp(287)
print bla
wait


But this returns -127

I have made the connection as in the link below.
https://www.tweaking4all.com/hardware/a ... re-sensor/

I have not coonected the ardino instead have esp12e there.

Please help.

Thanks and regards.
Sidharth