ESP8266 - NodeMCU - led and ds1820 temperature example #1190
Unanswered
espruino-discuss2
asked this question in
Tutorials
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2016-02-27 by Wilberforce
Here is an example using a Node MCU board. The firmware used is:
I have 2 DS18s20 connected to pin D1 (with the pullup resistor), and led connected via a 330Ohm resistor connected to pin D2.
The led is flashed ever 5 seconds, and the temperatures of each of the sensors echoed.
The [Flash] button on the board is watched, and this also toggles the state of the LED.
I hope someone finds this useful!
Beta Was this translation helpful? Give feedback.
All reactions