Update light.py
This commit is contained in:
parent
37fb6bffd8
commit
e03eaa9d08
|
@ -13,7 +13,7 @@ GPIO.setmode(GPIO.BCM)
|
|||
GPIO.setwarnings(False)
|
||||
GPIO.setup(21,GPIO.OUT)
|
||||
|
||||
state = int(sys.argv[1])
|
||||
state = str(sys.argv[1])
|
||||
|
||||
|
||||
def light(state):
|
||||
|
|
Loading…
Reference in a new issue