NodeMCU Projects: Difference between revisions
Content added Content deleted
Line 124: | Line 124: | ||
while True: |
while True: |
||
d.measure() |
d.measure() |
||
lcd.putstr(" |
lcd.putstr("Temperature: " + str(d.temperature()) + "C") |
||
lcd.putstr("Humidity: " + str(d.humidity()) + "%") |
|||
time.sleep(10) |
time.sleep(10) |
||
lcd.clear() |
lcd.clear() |
||
</syntaxhighlight> |
</syntaxhighlight> |
||