From d7fa971dc268d93bdac123cbf5c4daa4de0d9953 Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 19:34:21 +0200 Subject: [PATCH] test --- examples/mqtt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/mqtt.py b/examples/mqtt.py index 045c647..b2cc042 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -153,11 +153,11 @@ try: drawblack.rectangle((150, 30, 220, 50), fill = 255) drawblack.text((150, 30), value_energyImportExport, font = font10, fill = 0) drawblack.rectangle((150, 45, 220, 50), fill = 255) - drawblack.text((150, 45), value_houseBatterySoC, font = font10, fill = 0) + drawblack.text((155, 45), value_houseBatterySoC, font = font10, fill = 0) drawblack.rectangle((150, 60, 220, 50), fill = 1) drawblack.text((150, 60), value_houseBatteryLoadUnload, font = font10, fill = 0) - epd.display(epd.getbuffer(HBlackimage)) + epd.DisplayPartial(epd.getbuffer(HBlackimage)) except KeyboardInterrupt: print("exiting")