This commit is contained in:
Robert Borzutzki 2022-10-19 14:55:48 +02:00
parent 1a1890f65c
commit 105b570132

View File

@ -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)