change to bc

This commit is contained in:
Robert Borzutzki 2022-10-18 13:34:33 +02:00
parent e86a69d8a7
commit 987716f18f

View File

@ -8,7 +8,7 @@ if os.path.exists(libdir):
sys.path.append(libdir) sys.path.append(libdir)
import logging import logging
from waveshare_epd import epd2in13 from waveshare_epd import epd2in13bc
import time import time
from PIL import Image,ImageDraw,ImageFont from PIL import Image,ImageDraw,ImageFont
import traceback import traceback
@ -18,7 +18,7 @@ logging.basicConfig(level=logging.DEBUG)
try: try:
logging.info("epd2in13 Demo") logging.info("epd2in13 Demo")
epd = epd2in13.EPD() epd = epd2in1bc.EPD()
logging.info("init and Clear") logging.info("init and Clear")
epd.init(epd.lut_full_update) epd.init(epd.lut_full_update)
epd.Clear(0xFF) epd.Clear(0xFF)
@ -89,5 +89,5 @@ except IOError as e:
except KeyboardInterrupt: except KeyboardInterrupt:
logging.info("ctrl + c:") logging.info("ctrl + c:")
epd2in13.epdconfig.module_exit() epd2in13bc.epdconfig.module_exit()
exit() exit()