From 78036962d0b01965335e24f7d48b9edee0d008c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 12 Jul 2022 10:30:19 +0200 Subject: [PATCH] change BOARD to BMC 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 eb2c71b..a6c3ff1 100644 --- a/main.py +++ b/main.py @@ -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