Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
@ -42,7 +42,7 @@ def relay_controller(pin: int, status: str):
#ultrasonic
def get_water_level():
GPIO.setmode(GPIO.BOARD)
GPIO.setmode(GPIO.BMC)
GPIO.setwarnings(False)
GPIO_TRIGGER = 18
GPIO_ECHO = 24