Adafruit_Learning_System_Gu.../CircuitPython_Slideshow/code.py
2019-08-09 16:13:21 -04:00

13 lines
442 B
Python

# 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