Skip to content
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