From 4c073df6a876f174b0de3b52853d2503e6ee406d Mon Sep 17 00:00:00 2001 From: robert Date: Wed, 31 Jan 2024 22:18:21 +0000 Subject: [PATCH] change text positions --- examples/solar-monitoring.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/solar-monitoring.py b/examples/solar-monitoring.py index 66f1fa6..629d60f 100644 --- a/examples/solar-monitoring.py +++ b/examples/solar-monitoring.py @@ -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))