From 7cb15fbccca19f31b6024ee4493844bc68392426 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Mon, 22 Jul 2024 15:28:27 -0500 Subject: [PATCH] 8.x backward compatibility --- displayio/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/displayio/__init__.py b/displayio/__init__.py index 21cbadc..c0d35a3 100644 --- a/displayio/__init__.py +++ b/displayio/__init__.py @@ -18,6 +18,8 @@ """ import threading from typing import Union + +import fourwire from busdisplay import BusDisplay from busdisplay._displaybus import _DisplayBus from epaperdisplay import EPaperDisplay @@ -30,6 +32,11 @@ from ._tilegrid import TileGrid from ._constants import CIRCUITPY_DISPLAY_LIMIT +# 8.x Backwards compatibility, remove at 10.x or +# when compatibility is removed from core displayio +Display = BusDisplay +FourWire = fourwire.FourWire + __version__ = "0.0.0+auto.0" __repo__ = "https://github.com/adafruit/Adafruit_Blinka_displayio.git"