From dda10f9bcf913b61d9df7458b4c9abf1682860c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sun, 17 Jul 2022 17:08:51 +0200 Subject: [PATCH] changed pin# MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test.py b/test.py index fa9b815..0cb4942 100644 --- a/test.py +++ b/test.py @@ -6,10 +6,10 @@ import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) -GPIO.setup(7, GPIO.OUT) -GPIO.output(7, GPIO.HIGH) +GPIO.setup(4, GPIO.OUT) +GPIO.output(4, GPIO.HIGH) time.sleep(1) -GPIO.output(7, GPIO.LOW) +GPIO.output(4, GPIO.LOW) time.sleep(5) GPIO.cleanup()