diff --git a/test.py b/test.py index 967b530..465b9ba 100644 --- a/test.py +++ b/test.py @@ -11,7 +11,7 @@ pins = [14,15,18,23,24,25,8,7,8,25,24,23,18,15,15] # time.sleep(1) # relay.off() -relay = gpiozero.OutputDevice(p14, active_high=False, initial_value=False) +relay = gpiozero.OutputDevice(14, active_high=False, initial_value=False) relay.on() time.sleep(30) relay.off() \ No newline at end of file