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)
import logging
#from waveshare_epd import epd2in13b_V3
import waveshare-epaper
from waveshare_epd import epd2in13b_V3
#import waveshare-epaper
import time
from PIL import Image,ImageDraw,ImageFont
import traceback
@ -67,8 +67,8 @@ def monitor(charge_point_power):
try:
logging.info("epd2in13b_V3 Demo")
#epd = epd2in13b_V3.EPD()
epd = epaper.epaper('epd2in13b_V3').EPD()
epd = epd2in13b_V3.EPD()
#epd = epaper.epaper('epd2in13b_V3').EPD()
#logging.info("init and Clear")
#epd.init()
#epd.Clear()