This commit is contained in:
robert 2024-01-31 23:41:04 +00:00
parent f9ca820cb3
commit 10a7712948
1 changed files with 41 additions and 41 deletions

View File

@ -72,7 +72,7 @@ def run():
car_soc = subscribe(client, topic_car_soc)
charge_point_power = subscribe(client, topic_charge_point_power)
try:
try:
logging.info("epd2in13b_V3 Demo")
epd = epd2in13b_V3.EPD()
@ -108,10 +108,10 @@ def run():
logging.info("Goto Sleep...")
epd.sleep()
except IOError as e:
except IOError as e:
logging.info(e)
except KeyboardInterrupt:
except KeyboardInterrupt:
logging.info("ctrl + c:")
epd2in13b_V3.epdconfig.module_exit()
exit()