change to epaper lib
This commit is contained in:
parent
bf13bd234a
commit
c52f420ff1
@ -8,7 +8,8 @@
|
||||
# sys.path.append(libdir)
|
||||
|
||||
import logging
|
||||
from waveshare_epd import epd2in13b_V3
|
||||
#from waveshare_epd import epd2in13b_V3
|
||||
import epaper
|
||||
import time
|
||||
from PIL import Image,ImageDraw,ImageFont
|
||||
import traceback
|
||||
@ -66,7 +67,8 @@ def monitor(charge_point_power):
|
||||
try:
|
||||
logging.info("epd2in13b_V3 Demo")
|
||||
|
||||
epd = epd2in13b_V3.EPD()
|
||||
#epd = epd2in13b_V3.EPD()
|
||||
epd = epaper.epaper('epd2in13b_V3').EPD()
|
||||
#logging.info("init and Clear")
|
||||
#epd.init()
|
||||
#epd.Clear()
|
||||
|
Loading…
Reference in New Issue
Block a user