File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,18 @@ class RGBLED:
47
47
"""
48
48
A RGB LED.
49
49
50
- :param ~microcontroller.Pin red_pin: The red RGB LED pin to output PWM on.
51
- :param ~microcontroller.Pin green_pin: The green RGB LED pin to output PWM on.
52
- :param ~microcontroller.Pin blue_pin: The blue RGB LED pin to output PWM on.
50
+ :param red_pin: The physical pin connected to a red LED anode.
51
+ :type ~microcontroller.Pin: Microcontroller's red_pin.
52
+ :type pulseio.PWMOut: PWMOut object associated with red_pin.
53
+ :type PWMChannel: PCA9685 PWM channel associated with red_pin.
54
+ :param green_pin: The physical pin connected to a green LED anode.
55
+ :type ~microcontroller.Pin: Microcontroller's green_pin.
56
+ :type pulseio.PWMOut: PWMOut object associated with green_pin.
57
+ :type PWMChannel: PCA9685 PWM channel associated with green_pin.
58
+ :param blue_pin: The physical pin connected to a blue LED anode.
59
+ :type ~microcontroller.Pin: Microcontroller's blue_pin.
60
+ :type pulseio.PWMOut: PWMOut object associated with blue_pin.
61
+ :type PWMChannel: PCA9685 PWM channel associated with blue_pin.
53
62
:param bool invert_pwm: False if the RGB LED is common cathode,
54
63
true if the RGB LED is common anode.
55
64
You can’t perform that action at this time.
0 commit comments