diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-08 16:21:28 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-08 16:21:28 +0300 |
commit | a384a5313013d8ffda4db0e509cf798a080b3526 (patch) | |
tree | c1b87be77f0a3a68fc5a55880bf9de8af3b90b87 /docs/library/pyb.LED.rst | |
parent | 585aafc27eb7fa8fe660e3eeaa29bf8d7ab99213 (diff) | |
download | micropython-a384a5313013d8ffda4db0e509cf798a080b3526.tar.gz micropython-a384a5313013d8ffda4db0e509cf798a080b3526.zip |
docs/pyb.*: Use proper class case in method headers.
Class designator will be used as is in indexes, so must match actual class
name.
Diffstat (limited to 'docs/library/pyb.LED.rst')
-rw-r--r-- | docs/library/pyb.LED.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/library/pyb.LED.rst b/docs/library/pyb.LED.rst index fd997e40f7..1ab73a69c9 100644 --- a/docs/library/pyb.LED.rst +++ b/docs/library/pyb.LED.rst @@ -20,7 +20,7 @@ Constructors Methods ------- -.. method:: led.intensity([value]) +.. method:: LED.intensity([value]) Get or set the LED intensity. Intensity ranges between 0 (off) and 255 (full on). If no argument is given, return the LED intensity. @@ -32,15 +32,15 @@ Methods relevant LED is set to a value between 1 and 254. Otherwise the timers are free for general purpose use. -.. method:: led.off() +.. method:: LED.off() Turn the LED off. -.. method:: led.on() +.. method:: LED.on() Turn the LED on, to maximum intensity. -.. method:: led.toggle() +.. method:: LED.toggle() 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. |