Skip to content

Commit cc192d1

Browse files
authored
Merge pull request #23 from FoamyGuy/displayio_api_updates
displayio api updates
2 parents ebebd38 + de969d9 commit cc192d1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

adafruit_dash_display.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
try:
2727
from typing import Any, Callable, Optional, Tuple
2828

29+
import busdisplay
2930
from adafruit_io.adafruit_io import IO_MQTT
3031
from digitalio import DigitalInOut
3132
except ImportError:
@@ -156,14 +157,14 @@ class Hub:
156157
"""
157158
Object that lets you make an IOT dashboard
158159
159-
:param displayio.Display display: The display for the dashboard.
160+
:param busdisplay.BusDisplay display: The display for the dashboard.
160161
:param IO_MQTT io_mqtt: MQTT communications object.
161162
:param Tuple[DigitalInOut, ...] nav: The navigation pushbuttons.
162163
"""
163164

164165
def __init__(
165166
self,
166-
display: displayio.Display,
167+
display: busdisplay.BusDisplay,
167168
io_mqtt: IO_MQTT,
168169
nav: Tuple[DigitalInOut, ...],
169170
):

0 commit comments

Comments
 (0)