This commit is contained in:
robert 2024-02-01 07:49:14 +00:00
parent 3dc5502a7f
commit f2fab00d2f

View File

@ -8,8 +8,8 @@
# sys.path.append(libdir) # sys.path.append(libdir)
import logging import logging
#from waveshare_epd import epd2in13b_V3 from waveshare_epd import epd2in13b_V3
import waveshare-epaper #import waveshare-epaper
import time import time
from PIL import Image,ImageDraw,ImageFont from PIL import Image,ImageDraw,ImageFont
import traceback import traceback
@ -67,8 +67,8 @@ def monitor(charge_point_power):
try: try:
logging.info("epd2in13b_V3 Demo") logging.info("epd2in13b_V3 Demo")
#epd = epd2in13b_V3.EPD() epd = epd2in13b_V3.EPD()
epd = epaper.epaper('epd2in13b_V3').EPD() #epd = epaper.epaper('epd2in13b_V3').EPD()
#logging.info("init and Clear") #logging.info("init and Clear")
#epd.init() #epd.init()
#epd.Clear() #epd.Clear()