move sleep

This commit is contained in:
robert 2021-02-14 22:06:48 +01:00
parent 47168fd29b
commit 8c35551fcf

View File

@ -58,9 +58,9 @@ while True:
client.publish(humidity_topic, humidity)
client.publish(time_topic, dt_string)
time.sleep(30)
#Output data to screen
print dt_string
print temperature
print humidity
time.sleep(30)