mirror of
https://github.com/kxgx/2.13-Ink-screen-clock.git
synced 2026-04-04 10:25:06 +08:00
更新 clean.py
This commit is contained in:
@@ -39,6 +39,8 @@ def clear_screen():
|
||||
# 将屏幕置于睡眠模式
|
||||
logging.info("Putting e-Paper display to sleep")
|
||||
epd.sleep()
|
||||
epd2in13_V4.epdconfig.module_exit(cleanup=True)
|
||||
exit()
|
||||
|
||||
logging.info("e-Paper display cleared successfully")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user