Skip to content

Commit 9642846

Browse files
committed
docs: Define more clearly the behaviour of LED methods.
Addresses issue adafruit#1006.
1 parent 0078561 commit 9642846

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/library/pyb.LED.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ Methods
3131

3232
.. method:: led.on()
3333

34-
Turn the LED on.
34+
Turn the LED on, to maximum intensity.
3535

3636
.. method:: led.toggle()
3737

38-
Toggle the LED between on and off.
38+
Toggle the LED between on (maximum intensity) and off. If the LED is at
39+
non-zero intensity then it is considered "on" and toggle will turn it off.

0 commit comments

Comments
 (0)