berry_yogurt_4_05.py aktualisiert
This commit is contained in:
parent
ff6d3a97a9
commit
ef07bc230d
@ -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':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user