Browse Source

docs: Define more clearly the behaviour of LED methods.

Addresses issue #1006.
pull/1010/head
Damien George 10 years ago
parent
commit
9642846d71
  1. 5
      docs/library/pyb.LED.rst

5
docs/library/pyb.LED.rst

@ -31,8 +31,9 @@ Methods
.. method:: led.on()
Turn the LED on.
Turn the LED on, to maximum intensity.
.. method:: led.toggle()
Toggle the LED between on and off.
Toggle the LED between on (maximum intensity) and off. If the LED is at
non-zero intensity then it is considered "on" and toggle will turn it off.

Loading…
Cancel
Save