Skip to content

Commit 14ebce4

Browse files
authored
Merge pull request #15 from adafruit/dherrada-patch-1
Moved from pulseio.PWMOut to pwmio.PWMOut
2 parents e8f4263 + eb5dc34 commit 14ebce4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

adafruit_rgbled.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
* Adafruit's SimpleIO library: https://github.com/adafruit/Adafruit_CircuitPython_SimpleIO
2222
"""
23-
from pulseio import PWMOut
23+
from pwmio import PWMOut
2424
from simpleio import map_range
2525

2626
__version__ = "0.0.0-auto.0"
@@ -33,15 +33,15 @@ class RGBLED:
3333
3434
:param red_pin: The physical pin connected to a red LED anode.
3535
:type ~microcontroller.Pin: Microcontroller's red_pin.
36-
:type pulseio.PWMOut: PWMOut object associated with red_pin.
36+
:type pwmio.PWMOut: PWMOut object associated with red_pin.
3737
:type PWMChannel: PCA9685 PWM channel associated with red_pin.
3838
:param green_pin: The physical pin connected to a green LED anode.
3939
:type ~microcontroller.Pin: Microcontroller's green_pin.
40-
:type pulseio.PWMOut: PWMOut object associated with green_pin.
40+
:type pwmio.PWMOut: PWMOut object associated with green_pin.
4141
:type PWMChannel: PCA9685 PWM channel associated with green_pin.
4242
:param blue_pin: The physical pin connected to a blue LED anode.
4343
:type ~microcontroller.Pin: Microcontroller's blue_pin.
44-
:type pulseio.PWMOut: PWMOut object associated with blue_pin.
44+
:type pwmio.PWMOut: PWMOut object associated with blue_pin.
4545
:type PWMChannel: PCA9685 PWM channel associated with blue_pin.
4646
:param bool invert_pwm: False if the RGB LED is common cathode,
4747
true if the RGB LED is common anode.

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Uncomment the below if you use native CircuitPython modules such as
2626
# digitalio, micropython and busio. List the modules you use. Without it, the
2727
# autodoc module docs will fail to generate with a warning.
28-
autodoc_mock_imports = ["pulseio"]
28+
autodoc_mock_imports = ["pwmio"]
2929

3030

3131
intersphinx_mapping = {

0 commit comments

Comments
 (0)