Update code.py
This commit is contained in:
parent
9f95041b0a
commit
ba26000c3c
1 changed files with 0 additions and 2 deletions
|
|
@ -241,8 +241,6 @@ while True:
|
|||
#publish 1 to alarm feed
|
||||
io.publish(alarmfeed, 1)
|
||||
|
||||
print(str(time.time()))
|
||||
print(str(int(time.time()/300)))
|
||||
#check if 300 seconds have passed compared to start time, if so publish values
|
||||
if int(time.time()/300) > start:
|
||||
print("PUBLISH EVERY FIVE MINUTES")
|
||||
|
|
|
|||
Loading…
Reference in a new issue