Skip to content

Commit 8131b22

Browse files
authored
Merge pull request #35 from adafruit/dherrada-patch-1
Moved from pulseio.PWMOut to pwmio.PWMOut
2 parents eb4c9cb + 40e36d5 commit 8131b22

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ Usage Example
5757
5858
from adafruit_slideshow import PlayBackOrder, SlideShow
5959
import board
60-
import pulseio
60+
import pwmio
6161
6262
# Create the slideshow object that plays through once alphabetically.
63-
slideshow = SlideShow(board.DISPLAY, pulseio.PWMOut(board.TFT_BACKLIGHT), folder="/",
63+
slideshow = SlideShow(board.DISPLAY, pwmio.PWMOut(board.TFT_BACKLIGHT), folder="/",
6464
loop=False, order=PlayBackOrder.ALPHABETICAL)
6565
6666
while slideshow.update():

examples/slideshow_touch.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: MIT
33

44
import board
5-
import pulseio
5+
import pwmio
66
import touchio
77
from adafruit_slideshow import SlideShow, PlayBackDirection
88

@@ -16,7 +16,7 @@
1616

1717
slideshow = SlideShow(
1818
board.DISPLAY,
19-
pulseio.PWMOut(board.TFT_BACKLIGHT),
19+
pwmio.PWMOut(board.TFT_BACKLIGHT),
2020
folder="/",
2121
auto_advance=False,
2222
dwell=0,

0 commit comments

Comments
 (0)