Skip to content

Commit

Permalink
Merge pull request #35 from adafruit/dherrada-patch-1
Browse files Browse the repository at this point in the history
Moved from pulseio.PWMOut to pwmio.PWMOut
  • Loading branch information
tannewt committed Jan 29, 2021
2 parents eb4c9cb + 40e36d5 commit 8131b22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ Usage Example
from adafruit_slideshow import PlayBackOrder, SlideShow
import board
import pulseio
import pwmio
# Create the slideshow object that plays through once alphabetically.
slideshow = SlideShow(board.DISPLAY, pulseio.PWMOut(board.TFT_BACKLIGHT), folder="/",
slideshow = SlideShow(board.DISPLAY, pwmio.PWMOut(board.TFT_BACKLIGHT), folder="/",
loop=False, order=PlayBackOrder.ALPHABETICAL)
while slideshow.update():
Expand Down
4 changes: 2 additions & 2 deletions examples/slideshow_touch.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT

import board
import pulseio
import pwmio
import touchio
from adafruit_slideshow import SlideShow, PlayBackDirection

Expand All @@ -16,7 +16,7 @@

slideshow = SlideShow(
board.DISPLAY,
pulseio.PWMOut(board.TFT_BACKLIGHT),
pwmio.PWMOut(board.TFT_BACKLIGHT),
folder="/",
auto_advance=False,
dwell=0,
Expand Down

0 comments on commit 8131b22

Please sign in to comment.