mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Doc fix: RGBLED's initial_value is a tuple
This commit is contained in:
@@ -545,8 +545,8 @@ class RGBLED(SourceMixin, Device):
|
||||
Set to ``True`` (the default) for common cathode RGB LEDs. If you are
|
||||
using a common anode RGB LED, set this to ``False``.
|
||||
|
||||
:param bool initial_value:
|
||||
The initial color for the LED. Defaults to black ``(0, 0, 0)``.
|
||||
:param tuple initial_value:
|
||||
The initial color for the RGB LED. Defaults to black ``(0, 0, 0)``.
|
||||
|
||||
:param bool pwm:
|
||||
If ``True`` (the default), construct :class:`PWMLED` instances for
|
||||
|
||||
Reference in New Issue
Block a user