From 105b5701324ed63f670e4917eace56323339f094 Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 14:55:48 +0200 Subject: [PATCH] test --- examples/mqtt.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/mqtt.py b/examples/mqtt.py index 8a9d56d..c0cf522 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -38,13 +38,13 @@ try: #HRedimage = Image.new('1', (epd.height, epd.width), 255) # 298*126 ryimage: red or yellow image drawblack = ImageDraw.Draw(HBlackimage) #drawred = ImageDraw.Draw(HRedimage) - drawblack.text((5, 0), 'PV Produktion', font = font10, fill = 0) - drawblack.text((5, 15), 'Hausverbrauch', font = font10, fill = 0) - 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) + #drawblack.text((5, 0), 'PV Produktion', font = font10, fill = 0) + #drawblack.text((5, 15), 'Hausverbrauch', font = font10, fill = 0) + #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.DisplayPartial(epd.getbuffer(HBlackimage)) values_image = Image.new('1', (epd.width, epd.height), 255) values_draw = ImageDraw.Draw(values_image)