Update code.py
This commit is contained in:
parent
3ded978698
commit
11a5f243dd
1 changed files with 5 additions and 2 deletions
|
|
@ -1,11 +1,14 @@
|
|||
# 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue