fix
This commit is contained in:
parent
f9ca820cb3
commit
10a7712948
@ -72,7 +72,7 @@ def run():
|
|||||||
car_soc = subscribe(client, topic_car_soc)
|
car_soc = subscribe(client, topic_car_soc)
|
||||||
charge_point_power = subscribe(client, topic_charge_point_power)
|
charge_point_power = subscribe(client, topic_charge_point_power)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
logging.info("epd2in13b_V3 Demo")
|
logging.info("epd2in13b_V3 Demo")
|
||||||
|
|
||||||
epd = epd2in13b_V3.EPD()
|
epd = epd2in13b_V3.EPD()
|
||||||
@ -108,10 +108,10 @@ def run():
|
|||||||
logging.info("Goto Sleep...")
|
logging.info("Goto Sleep...")
|
||||||
epd.sleep()
|
epd.sleep()
|
||||||
|
|
||||||
except IOError as e:
|
except IOError as e:
|
||||||
logging.info(e)
|
logging.info(e)
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
logging.info("ctrl + c:")
|
logging.info("ctrl + c:")
|
||||||
epd2in13b_V3.epdconfig.module_exit()
|
epd2in13b_V3.epdconfig.module_exit()
|
||||||
exit()
|
exit()
|
||||||
|
Loading…
Reference in New Issue
Block a user