change BOARD to BMC

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-12 10:30:19 +02:00
parent 39b3b86a60
commit 78036962d0
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def relay_controller(pin: int, status: str):
#ultrasonic #ultrasonic
def get_water_level(): def get_water_level():
GPIO.setmode(GPIO.BOARD) GPIO.setmode(GPIO.BMC)
GPIO.setwarnings(False) GPIO.setwarnings(False)
GPIO_TRIGGER = 18 GPIO_TRIGGER = 18
GPIO_ECHO = 24 GPIO_ECHO = 24