Merge pull request #332 from lurch/patch-4

Doc fix: RGBLED's initial_value is a tuple
This commit is contained in:
Ben Nuttall
2016-05-26 23:08:55 +01:00

View File

@@ -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