Adafruit_Learning_System_Gu.../CircuitPython_Slideshow/code.py
2019-08-09 14:59:47 -04:00

11 lines
315 B
Python

import board
from adafruit_slideshow import PlayBackOrder, SlideShow
import pulseio
# 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