This commit is contained in:
Robert Borzutzki 2022-10-19 11:57:21 +02:00
parent 89faaee9d6
commit d1d85283e9

View File

@ -8,7 +8,7 @@ if os.path.exists(libdir):
sys.path.append(libdir)
import logging
from waveshare_epd import epd2in13b_V4
from waveshare_epd import epd2in13b_V3
import time
from PIL import Image,ImageDraw,ImageFont
import traceback
@ -22,7 +22,7 @@ Connected = False
try:
logging.info("epd2in13bc Demo")
epd = epd2in13b_V4.EPD()
epd = epd2in13b_V3.EPD()
logging.info("init and Clear")
epd.init()
epd.Clear()