k
This commit is contained in:
parent
3eea36fd78
commit
7a50a21077
@ -8,7 +8,7 @@ if os.path.exists(libdir):
|
||||
sys.path.append(libdir)
|
||||
|
||||
import logging
|
||||
from waveshare_epd import epd2in13b_V2
|
||||
from waveshare_epd import epd2in13_V2
|
||||
import time
|
||||
from PIL import Image,ImageDraw,ImageFont
|
||||
import traceback
|
||||
@ -22,7 +22,7 @@ Connected = False
|
||||
try:
|
||||
logging.info("epd2in13bc Demo")
|
||||
|
||||
epd = epd2in13b_V2.EPD()
|
||||
epd = epd2in13_V2.EPD()
|
||||
logging.info("init and Clear")
|
||||
epd.init()
|
||||
epd.Clear()
|
||||
@ -52,7 +52,7 @@ except IOError as e:
|
||||
|
||||
except KeyboardInterrupt:
|
||||
logging.info("ctrl + c:")
|
||||
epd2in13b_V2.epdconfig.module_exit()
|
||||
epd2in13_V2.epdconfig.module_exit()
|
||||
exit()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user