# schedule.every().minute.at(":45").do(updateBuffer)
# schedule.every().minute.at(":50").do(updateBuffer)
# schedule.every().minute.at(":55").do(updateBuffer)
+ pollSensors() # initial run to start up sensors
+ time.sleep(1) # pause to give sensors time to initialize
updateBuffer() # initial run
- pollSensors() # initial run
+
while True:
proximity = ltr559.get_proximity()