17 lines
543 B
Python
17 lines
543 B
Python
# SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
# CircuitPython Slideshow - uses the adafruit_slideshow.mpy library
|
|
import board
|
|
from adafruit_slideshow import PlayBackOrder, SlideShow
|
|
|
|
# Create the slideshow object that plays through once alphabetically.
|
|
slideshow = SlideShow(board.DISPLAY,
|
|
folder="/images",
|
|
loop=True,
|
|
order=PlayBackOrder.ALPHABETICAL,
|
|
dwell=60)
|
|
|
|
while slideshow.update():
|
|
pass
|