From 71c72befe34b47e5ef68c903a5a07d12acc1ab81 Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 13:02:51 +0200 Subject: [PATCH] change to version2 --- examples/mqtt.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/mqtt.py b/examples/mqtt.py index 13bd44a..daffc10 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 epd2in13b_V3 +from waveshare_epd import epd2in13b_V2 import time from PIL import Image,ImageDraw,ImageFont import traceback @@ -22,7 +22,7 @@ Connected = False try: logging.info("epd2in13bc Demo") - epd = epd2in13b_V3.EPD() + epd = epd2in13b_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:") - epd2in13bc.epdconfig.module_exit() + epd2in13b_V2.epdconfig.module_exit() exit()