This commit is contained in:
robert 2024-02-01 08:18:07 +00:00
parent e901d8db8f
commit e09adbaea3

View File

@ -64,7 +64,7 @@ def subscribe(client: mqtt_client, topic):
client.loop_stop()
def monitor(charge_point_power):
try:
logging.info("epd2in13b_V3 Demo")
epd = epd2in13b_V3.EPD()
@ -92,6 +92,8 @@ def monitor(charge_point_power):
drawblack.text((2, 80), 'Auto Laden', font = font16, fill = 0)
#drawblack.text((100, 80), str(charge_point_power), font = font16, fill = 0)
try:
epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRYimage))
#logging.info("Clear...")