diff --git a/test.py b/test.py index 844f972..513dbea 100644 --- a/test.py +++ b/test.py @@ -4,12 +4,13 @@ import RPi.GPIO as GPIO GPIO.setmode(GPIO.BOARD) +GPIO.setwarnings(False) pins = [8,10,12,16,18,22,24,26] for pin in pins: print(pin) - # GPIO.setup(pin, GPIO.OUT) + GPIO.setup(pin, GPIO.OUT) GPIO.output(pin, False) time.sleep(float(0.5)) GPIO.output(pin, True)