From 9fba01cbc3085bc1577f46e8e1e7100cc8bdbeee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 12 Jul 2022 09:06:53 +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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test.py b/test.py index fec272b..83ecc13 100644 --- a/test.py +++ b/test.py @@ -2,10 +2,10 @@ global GPIO import RPi.GPIO as GPIO import time -GPIO.setmode(GPIO.BCM) +GPIO.setmode(GPIO.BOARD) -GPIO_TRIGGER = 24 -GPIO_ECHO = 18 +GPIO_TRIGGER = 18 +GPIO_ECHO = 24 GPIO.setup(GPIO_TRIGGER, GPIO.OUT) GPIO.setup(GPIO_ECHO, GPIO.IN)