From 03bca4dda513dd850cddc6a8e6ea4fd2e832af86 Mon Sep 17 00:00:00 2001 From: Marcus Date: Fri, 19 Apr 2024 00:29:19 +0200 Subject: [PATCH] firmware wip - byte is not the correct data type for value 400 :p --- Arduino/CanGrow/CanGrow.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Arduino/CanGrow/CanGrow.ino b/Arduino/CanGrow/CanGrow.ino index 7e08bf1..9482e03 100644 --- a/Arduino/CanGrow/CanGrow.ino +++ b/Arduino/CanGrow/CanGrow.ino @@ -499,9 +499,9 @@ int getWaterlevel() { * 0 : OK */ - byte waterlevelWARN = 200; - byte waterlevelOK = 400; - byte waterlevelRAW = 0; + short waterlevelWARN = 200; + short waterlevelOK = 400; + short waterlevelRAW = 0; byte waterlevel = 0; // enable Vcc for water level sensor