File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 53
53
try :
54
54
from typing import Optional
55
55
56
+ import busdisplay
56
57
from pwmio import PWMOut
57
58
except ImportError :
58
59
pass
@@ -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