Skip to content

Commit d2833e9

Browse files
committed
Doc fix: RGBLED's initial_value is a tuple
1 parent 9278a2f commit d2833e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gpiozero/output_devices.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,8 +545,8 @@ class RGBLED(SourceMixin, Device):
545545
Set to ``True`` (the default) for common cathode RGB LEDs. If you are
546546
using a common anode RGB LED, set this to ``False``.
547547
548-
:param bool initial_value:
549-
The initial color for the LED. Defaults to black ``(0, 0, 0)``.
548+
:param tuple initial_value:
549+
The initial color for the RGB LED. Defaults to black ``(0, 0, 0)``.
550550
551551
:param bool pwm:
552552
If ``True`` (the default), construct :class:`PWMLED` instances for

0 commit comments

Comments
 (0)