Archived
1
0

Pushing some work on automatic mode.

This commit is contained in:
Shaun Setlock
2021-11-12 13:55:45 -05:00
parent ec287ae047
commit a0ea4c743d
4 changed files with 82 additions and 1 deletions

View File

@@ -70,5 +70,8 @@ if __name__ == "__main__":
GPIO.output(RELAY1_PIN, pump_state)
GPIO.output(RELAY3_PIN, lamp_state)
# Avoid running a single thread maxxed out.
time.sleep(0.1)
finally:
GPIO.cleanup()