remove first display

This commit is contained in:
Robert Borzutzki 2022-10-19 19:52:24 +02:00
parent fbf3c5d488
commit 7be1795a09

View File

@ -116,7 +116,7 @@ try:
drawblack.text((5, 30), 'Strom Import/Export', 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, 45), 'Batterie %', font = font10, fill = 0)
drawblack.text((5, 60), 'Batterie Laden/Entladen', 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.getbuffer(HRedimage))
#epd.display(epd.getbuffer(HBlackimage)) #epd.display(epd.getbuffer(HBlackimage))
print("-----") print("-----")
@ -138,7 +138,7 @@ try:
drawblack.text((150, 60), value_houseBatteryLoadUnload, font = font10, fill = 0) drawblack.text((150, 60), value_houseBatteryLoadUnload, font = font10, fill = 0)
epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRedimage)) epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRedimage))
time.sleep(10) time.sleep(10)
except KeyboardInterrupt: except KeyboardInterrupt: