Skip to content

Commit a6b93af

Browse files
authored
Merge pull request #742 from siddacious/slideshow_display_fix
updating slideshow_display.py to work with displayio updates
2 parents 271e4a4 + ac41039 commit a6b93af

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Slideshows_Soundtrack/slideshows_soundtrack.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import board
2-
from adafruit_slideshow import PlayBackOrder, SlideShow, PlayBackDirection
2+
from adafruit_slideshow import SlideShow, PlayBackDirection
33
import audioio
4-
import pulseio
54
import touchio
65

76
# Create the slideshow object that plays through once alphabetically.
8-
slideshow = SlideShow(board.DISPLAY, pulseio.PWMOut(board.TFT_BACKLIGHT), folder="/",
9-
loop=True, order=PlayBackOrder.ALPHABETICAL)
7+
slideshow = SlideShow(board.DISPLAY)
108

119
# Create the touch objects on the first and last teeth
1210
back_button = touchio.TouchIn(board.TOUCH1)

0 commit comments

Comments
 (0)