Skip to content

Commit b930f19

Browse files
authored
Merge pull request #104 from adafruit/dherrada-patch-1
Moved from pulseio.PWMOut to pwmio.PWMOut
2 parents 653d0a7 + f606c96 commit b930f19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_pyportal/peripherals.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import gc
2828
import board
2929
from digitalio import DigitalInOut
30-
import pulseio
30+
import pwmio
3131
import audioio
3232
import audiocore
3333
import storage
@@ -79,11 +79,11 @@ def __init__(self, spi, display, splash_group, debug=False):
7979

8080
try:
8181
if hasattr(board, "TFT_BACKLIGHT"):
82-
self._backlight = pulseio.PWMOut(
82+
self._backlight = pwmio.PWMOut(
8383
board.TFT_BACKLIGHT
8484
) # pylint: disable=no-member
8585
elif hasattr(board, "TFT_LITE"):
86-
self._backlight = pulseio.PWMOut(
86+
self._backlight = pwmio.PWMOut(
8787
board.TFT_LITE
8888
) # pylint: disable=no-member
8989
except ValueError:

0 commit comments

Comments
 (0)