move sleep
This commit is contained in:
parent
47168fd29b
commit
8c35551fcf
@ -58,9 +58,9 @@ while True:
|
|||||||
client.publish(humidity_topic, humidity)
|
client.publish(humidity_topic, humidity)
|
||||||
client.publish(time_topic, dt_string)
|
client.publish(time_topic, dt_string)
|
||||||
|
|
||||||
time.sleep(30)
|
|
||||||
|
|
||||||
#Output data to screen
|
#Output data to screen
|
||||||
print dt_string
|
print dt_string
|
||||||
print temperature
|
print temperature
|
||||||
print humidity
|
print humidity
|
||||||
|
|
||||||
|
time.sleep(30)
|
Loading…
Reference in New Issue
Block a user