From 46355af829caff5690a73d50756e1a8b2ba24335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Wed, 6 Jul 2022 19:11:06 +0200 Subject: [PATCH] test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)