changed pin

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-24 12:18:20 +02:00
parent f412c909ba
commit c55a98e1fc
1 changed files with 1 additions and 1 deletions

View File

@ -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)