diff --git a/berry_yogurt_4_05.py b/berry_yogurt_4_05.py index b877196..1ad39aa 100644 --- a/berry_yogurt_4_05.py +++ b/berry_yogurt_4_05.py @@ -47,7 +47,7 @@ def on_a_sensor_signal(): df.to_csv(f"Raspberry Yogurt_{currentDateTime}.csv", index=False) print("CSV file saved") -def check(): # Runs periodically the led_check as long as ayogurth is open +def check(): # Runs periodically the led_check as long as a yogurth is open schedule.every(6).seconds.do(led_check) while not infrared_sensor.is_active and consumption_overview[-1]['Status'] == 'Yogurt open':