Update code.py

This commit is contained in:
Mike Barela 2019-08-09 15:51:32 -04:00 committed by GitHub
parent 11a5f243dd
commit e7df472eb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,14 +1,13 @@
# CircuitPython Slideshow - uses the adafruit_slideshow.mpy library
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)
folder="/images",
loop=True,
order=PlayBackOrder.ALPHABETICAL,
dwell=60)
while slideshow.update():
pass