Update light.py
This commit is contained in:
parent
7141c117e7
commit
a099f11031
|
@ -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])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue