Update main.py

This commit is contained in:
星光-k
2025-01-12 14:52:18 +08:00
committed by GitHub
parent 99c2bb3152
commit c5a3ef0dcf

View File

@@ -143,8 +143,6 @@ def Basic_refresh(): #全刷函数
logging.info("Refresh and prepare the basic content before starting the canvas")#开始画布前刷新准备基础内容
epd.init()
epd.Clear(0xFF)
epd.init()
epd.Clear(0xFF)
global get_date_var
get_date_var=get_date() #记录开始数据
draw.text((2,2),get_date_var,font = font02,fill =0)#将日期及星期几显示到屏幕