From b02798a2b2cff3f00cfafa6f80bf1f19a8a29629 Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 19:22:58 +0200 Subject: [PATCH] kk --- examples/mqtt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/mqtt.py b/examples/mqtt.py index e1fb7cf..f1630e0 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -161,7 +161,7 @@ try: logging.info(value_energyImportExport) logging.info(value_houseBatterySoC) logging.info(value_houseBatteryLoadUnload) - drawblack.rectangle((150, 0, 220, 50), fill = 1) + drawblack.rectangle((150, 0, 220, 50), fill = 255) drawblack.text((150, 0), value_pvProduction, font = font10, fill = 0) drawblack.rectangle((150, 15, 220, 50), fill = 255) drawblack.text((150, 15), value_wHouseConsumption, font = font10, fill = 0) @@ -169,7 +169,7 @@ try: 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.rectangle((150, 60, 220, 50), fill = 255) + drawblack.rectangle((150, 60, 220, 50), fill = 1) drawblack.text((150, 60), value_houseBatteryLoadUnload, font = font10, fill = 0) epd.display(epd.getbuffer(HBlackimage))