Skip to content

Commit 8c6574d

Browse files
authored
Merge pull request #30 from adafruit/dherrada-patch-1
Moved from pulseio.PWMOut to pwmio.PWMOut
2 parents 9ab3fa1 + 90e5e55 commit 8c6574d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/mpr121_piano.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import board
1111
import busio
12-
import pulseio
12+
import pwmio
1313

1414
# Import MPR121 module.
1515
import adafruit_mpr121
@@ -45,7 +45,7 @@
4545

4646
# pylint: disable-msg=no-member
4747
# Setup buzzer PWM output.
48-
buzzer = pulseio.PWMOut(
48+
buzzer = pwmio.PWMOut(
4949
BUZZER_PIN, duty_cycle=TONE_OFF_DUTY, frequency=440, variable_frequency=True
5050
)
5151
# pylint: disable-msg=no-member

0 commit comments

Comments
 (0)