From 880a16a462c2b5896f5f3e129dffe5c5d56b8f41 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Thu, 8 Dec 2022 21:41:21 +0700 Subject: [PATCH] Update kuukar_lcd.py --- kuukar/kuukar_lcd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kuukar/kuukar_lcd.py b/kuukar/kuukar_lcd.py index 49ce19b..9b8b527 100644 --- a/kuukar/kuukar_lcd.py +++ b/kuukar/kuukar_lcd.py @@ -61,5 +61,5 @@ class lcd: self.nextion.send_command( f"brightnessTXT.txt=\"{self.sensors.get_brightness_pct()}\"") self.nextion.send_command( - f"sonarTXT.txt=\"{int(self.sensors.sonar_get_distance(2))} / {int(self.sensors.sonar_get_distance(1))} / {int(self.sensors.sonar_get_distance(0))}\"") + f"sonarTXT.txt=\"{self.sensors.sonar_get_distance()}\"") sleep(1)