change text postion

This commit is contained in:
robert 2024-01-31 22:25:16 +00:00
parent 2d21ad81dc
commit 8c1922ed1c

View File

@ -37,9 +37,11 @@ try:
drawry = ImageDraw.Draw(HRYimage)
drawblack.text((2, 0), 'PV Production', font = font16, fill = 0)
drawblack.text((2, 16), 'Hausverbrauch', font = font16, fill = 0)
drawblack.text((2, 40), 'Strom Import', font = font16, fill = 0)
drawblack.text((2, 60), 'Batterie', font = font16, fill = 0)
drawblack.text((2, 32), 'Strom Import', font = font16, fill = 0)
drawblack.text((2, 48), 'Batterie', font = font16, fill = 0)
drawblack.text((2, 64), 'Batterie Entladen', font = font16, fill = 0)
drawblack.text((2, 80), 'Batterie Entladen', font = font16, fill = 0)
epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRYimage))