/ CircuitPython_Slideshow / code.py
code.py
1 # SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries 2 # 3 # SPDX-License-Identifier: MIT 4 5 # CircuitPython Slideshow - uses the adafruit_slideshow.mpy library 6 import board 7 from adafruit_slideshow import PlayBackOrder, SlideShow 8 9 # Create the slideshow object that plays through once alphabetically. 10 slideshow = SlideShow(board.DISPLAY, 11 folder="/images", 12 loop=True, 13 order=PlayBackOrder.ALPHABETICAL, 14 dwell=60) 15 16 while slideshow.update(): 17 pass