Update code.py

This commit is contained in:
Anne Barela 2022-10-11 15:01:42 -04:00 committed by GitHub
parent 9f95041b0a
commit ba26000c3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")