change text positions

This commit is contained in:
robert 2024-01-31 22:18:21 +00:00
parent acdcfb8879
commit 4c073df6a8

View File

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