From d8659cada6e2ae67cf2717117f0cf7a89fa0e173 Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 19:57:52 +0200 Subject: [PATCH] change to b lib --- examples/mqtt.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/mqtt.py b/examples/mqtt.py index 33b9d8a..e37e31e 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -8,7 +8,7 @@ if os.path.exists(libdir): sys.path.append(libdir) import logging -from waveshare_epd import epd2in13bc +from waveshare_epd import epd2in13b import time from PIL import Image,ImageDraw,ImageFont import traceback @@ -32,7 +32,7 @@ pw = "phio6yiR9ohs1veeghu4WaeGhaiRi8he4EiWasheev4faeku8tohdiuthah7zahP" client_id = "solarmonitor" try: - epd = epd2in13bc.EPD() + epd = epd2in13b.EPD() logging.info("init and Clear") epd.init() epd.Clear() @@ -43,7 +43,7 @@ except IOError as e: except KeyboardInterrupt: logging.info("ctrl + c:") - epd2in13bc.epdconfig.module_exit() + epd2in13b.epdconfig.module_exit() exit() def on_connect(client, userdata, flags, rc):