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 5353try :
5454 from typing import Optional
5555
56+ import busdisplay
5657 from pwmio import PWMOut
5758except ImportError :
5859 pass
@@ -101,7 +102,7 @@ class SlideShow:
101102 """
102103 Class for displaying a slideshow of .bmp images on displays.
103104
104- :param displayio.Display display: The display to use
105+ :param busdisplay.BusDisplay display: The display to use
105106 :param PWMOut backlight_pwm: The PWMOut object used for the backlight
106107 :param str folder: Specify the folder containing the image files, in quotes. Default is
107108 the root directory, ``"/"``.
@@ -182,7 +183,7 @@ class SlideShow:
182183
183184 def __init__ (
184185 self ,
185- display : displayio . Display ,
186+ display : busdisplay . BusDisplay ,
186187 backlight_pwm : Optional [PWMOut ] = None ,
187188 * ,
188189 folder : str = "/" ,
You can’t perform that action at this time.
0 commit comments