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)