From 7be1795a0968d74562f0f0d3340b35a8337a629a Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 19:52:24 +0200 Subject: [PATCH] remove first display --- examples/mqtt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/mqtt.py b/examples/mqtt.py index a7dcaab..8f1c664 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -116,7 +116,7 @@ try: drawblack.text((5, 30), 'Strom Import/Export', font = font10, fill = 0) drawblack.text((5, 45), 'Batterie %', font = font10, fill = 0) drawblack.text((5, 60), 'Batterie Laden/Entladen', font = font10, fill = 0) - epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRedimage)) + #epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRedimage)) #epd.display(epd.getbuffer(HBlackimage)) print("-----") @@ -138,7 +138,7 @@ try: drawblack.text((150, 60), value_houseBatteryLoadUnload, font = font10, fill = 0) epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRedimage)) - + time.sleep(10) except KeyboardInterrupt: