added debug for distance

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-13 09:40:06 +02:00
parent d6c0cec463
commit b2017bd96b
1 changed files with 1 additions and 0 deletions

View File

@ -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)