From c55a98e1fcbd360e1a0b8388d3ee3b3dcf653e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sun, 24 Jul 2022 12:18:20 +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ß --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e77c17f..640b7c4 100644 --- a/main.py +++ b/main.py @@ -44,7 +44,7 @@ def get_water_level(): GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO_TRIGGER = 24 - GPIO_ECHO = 8 + GPIO_ECHO = 25 GPIO.setup(GPIO_TRIGGER, GPIO.OUT) GPIO.setup(GPIO_ECHO, GPIO.IN) GPIO.output(GPIO_TRIGGER, True)