Pushing some work on automatic mode.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user