From b2017bd96b3432d20bb34cb75907c1e32ac5e28b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Wed, 13 Jul 2022 09:40:06 +0200 Subject: [PATCH] added debug for distance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index b845500..4de83f3 100644 --- a/main.py +++ b/main.py @@ -58,6 +58,7 @@ def get_water_level(): TimeElapsed = StopTime - startTime distance = (TimeElapsed * 34300) / 2 + debug_print(str(distance)) rounded_distance = int(distance) return str(rounded_distance)