Skip to content

Moved from pulseio.PWMOut to pwmio.PWMOut #15

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 7 commits into from
Apr 6, 2021
Merged
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions adafruit_rgbled.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

* Adafruit's SimpleIO library: https://github.com/adafruit/Adafruit_CircuitPython_SimpleIO
"""
from pulseio import PWMOut
from pwmio import PWMOut
from simpleio import map_range

__version__ = "0.0.0-auto.0"
Expand All @@ -33,15 +33,15 @@ class RGBLED:

:param red_pin: The physical pin connected to a red LED anode.
:type ~microcontroller.Pin: Microcontroller's red_pin.
:type pulseio.PWMOut: PWMOut object associated with red_pin.
:type pwmio.PWMOut: PWMOut object associated with red_pin.
:type PWMChannel: PCA9685 PWM channel associated with red_pin.
:param green_pin: The physical pin connected to a green LED anode.
:type ~microcontroller.Pin: Microcontroller's green_pin.
:type pulseio.PWMOut: PWMOut object associated with green_pin.
:type pwmio.PWMOut: PWMOut object associated with green_pin.
:type PWMChannel: PCA9685 PWM channel associated with green_pin.
:param blue_pin: The physical pin connected to a blue LED anode.
:type ~microcontroller.Pin: Microcontroller's blue_pin.
:type pulseio.PWMOut: PWMOut object associated with blue_pin.
:type pwmio.PWMOut: PWMOut object associated with blue_pin.
:type PWMChannel: PCA9685 PWM channel associated with blue_pin.
:param bool invert_pwm: False if the RGB LED is common cathode,
true if the RGB LED is common anode.
Expand Down