change to b lib

This commit is contained in:
Robert Borzutzki 2022-10-19 19:57:52 +02:00
parent 9d3430e4d7
commit d8659cada6

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 epd2in13bc from waveshare_epd import epd2in13b
import time import time
from PIL import Image,ImageDraw,ImageFont from PIL import Image,ImageDraw,ImageFont
import traceback import traceback
@ -32,7 +32,7 @@ pw = "phio6yiR9ohs1veeghu4WaeGhaiRi8he4EiWasheev4faeku8tohdiuthah7zahP"
client_id = "solarmonitor" client_id = "solarmonitor"
try: try:
epd = epd2in13bc.EPD() epd = epd2in13b.EPD()
logging.info("init and Clear") logging.info("init and Clear")
epd.init() epd.init()
epd.Clear() epd.Clear()
@ -43,7 +43,7 @@ except IOError as e:
except KeyboardInterrupt: except KeyboardInterrupt:
logging.info("ctrl + c:") logging.info("ctrl + c:")
epd2in13bc.epdconfig.module_exit() epd2in13b.epdconfig.module_exit()
exit() exit()
def on_connect(client, userdata, flags, rc): def on_connect(client, userdata, flags, rc):