Update light.py

This commit is contained in:
tpollina 2019-12-13 10:53:52 -08:00 committed by GitHub
parent 7141c117e7
commit a099f11031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@ import sys
GPIO.setmode(GPIO.BCM) GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False) GPIO.setwarnings(False)
GPIO.setup(21,GPIO.OUT)
state = int(sys.argv[1]) state = int(sys.argv[1])