From 8ba9146d717e5ae9a08ab32f0961c9d26375f4eb Mon Sep 17 00:00:00 2001 From: foamyguy Date: Tue, 20 Feb 2024 16:54:37 -0600 Subject: [PATCH] epaperdisplay module --- adafruit_spd1656.py | 4 ++-- docs/conf.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/adafruit_spd1656.py b/adafruit_spd1656.py index 01f5dc6..7ac40fe 100644 --- a/adafruit_spd1656.py +++ b/adafruit_spd1656.py @@ -23,7 +23,7 @@ Implementation Notes import struct -import displayio +import epaperdisplay __version__ = "0.0.0+auto.0" __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SPD1656.git" @@ -48,7 +48,7 @@ _STOP_SEQUENCE = b"\x02\x01\x00" b"\x07\x01\xA5" # Power off then deep sleep # pylint: disable=too-few-public-methods -class SPD1656(displayio.EPaperDisplay): +class SPD1656(epaperdisplay.EPaperDisplay): r"""SPD1656 display driver :param bus: The data bus the display is on diff --git a/docs/conf.py b/docs/conf.py index b9e4c21..8f1adb4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,7 +27,7 @@ extensions = [ # Uncomment the below if you use native CircuitPython modules such as # digitalio, micropython and busio. List the modules you use. Without it, the # autodoc module docs will fail to generate with a warning. -# autodoc_mock_imports = ["digitalio", "busio"] +autodoc_mock_imports = ["epaperdisplay"] autodoc_preserve_defaults = True