Skip to content

Moved from pulseio.PWMOut to pwmio.PWMOut #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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