Updating value in code.py

Just caught a minor value error that was left in the loop from testing. Should be polling IO every 5 seconds, not 2
This commit is contained in:
BlitzCityDIY 2022-08-03 13:46:04 -04:00
parent 17af90beee
commit cbc1a359dc

View file

@ -101,7 +101,7 @@ clock = 5
while True:
# check IO for new data every 5 seconds
if (time.monotonic() - clock) > 2:
if (time.monotonic() - clock) > 5:
# get data
received_data = io.receive_data(in_feed["key"])
# reset clock