File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 33
33
# text slides are an optional feature and require adafruit_display_text
34
34
import json
35
35
36
+ import busdisplay
36
37
import terminalio
37
38
from adafruit_display_text import bitmap_label
38
39
@@ -101,7 +102,7 @@ class SlideShow:
101
102
"""
102
103
Class for displaying a slideshow of .bmp images on displays.
103
104
104
- :param displayio.Display display: The display to use
105
+ :param busdisplay.BusDisplay display: The display to use
105
106
:param PWMOut backlight_pwm: The PWMOut object used for the backlight
106
107
:param str folder: Specify the folder containing the image files, in quotes. Default is
107
108
the root directory, ``"/"``.
@@ -182,7 +183,7 @@ class SlideShow:
182
183
183
184
def __init__ (
184
185
self ,
185
- display : displayio . Display ,
186
+ display : busdisplay . BusDisplay ,
186
187
backlight_pwm : Optional [PWMOut ] = None ,
187
188
* ,
188
189
folder : str = "/" ,
You can’t perform that action at this time.
0 commit comments