File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ class PWMOutputDevice(OutputDevice):
284284 HIGH. If ``False``, the :meth:`on` method will set the GPIO to LOW (the
285285 :meth:`off` method always does the opposite).
286286
287- :param bool initial_value:
287+ :param float initial_value:
288288 If ``0`` (the default), the device's duty cycle will be 0 initially.
289289 Other values between 0 and 1 can be specified as an initial duty cycle.
290290 Note that ``None`` cannot be specified (unlike the parent class) as
@@ -491,7 +491,7 @@ class PWMLED(PWMOutputDevice):
491491 HIGH. If ``False``, the :meth:`on` method will set the GPIO to LOW (the
492492 :meth:`off` method always does the opposite).
493493
494- :param bool initial_value:
494+ :param float initial_value:
495495 If ``0`` (the default), the LED will be off initially. Other values
496496 between 0 and 1 can be specified as an initial brightness for the LED.
497497 Note that ``None`` cannot be specified (unlike the parent class) as
You can’t perform that action at this time.
0 commit comments