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.LCD.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.LCD.rst')
-rw-r--r-- | docs/library/pyb.LCD.rst | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/library/pyb.LCD.rst b/docs/library/pyb.LCD.rst index 06fe35589d..83cf890b63 100644 --- a/docs/library/pyb.LCD.rst +++ b/docs/library/pyb.LCD.rst @@ -49,48 +49,48 @@ Constructors Methods ------- -.. method:: lcd.command(instr_data, buf) +.. method:: LCD.command(instr_data, buf) Send an arbitrary command to the LCD. Pass 0 for ``instr_data`` to send an instruction, otherwise pass 1 to send data. ``buf`` is a buffer with the instructions/data to send. -.. method:: lcd.contrast(value) +.. method:: LCD.contrast(value) Set the contrast of the LCD. Valid values are between 0 and 47. -.. method:: lcd.fill(colour) +.. method:: LCD.fill(colour) Fill the screen with the given colour (0 or 1 for white or black). This method writes to the hidden buffer. Use ``show()`` to show the buffer. -.. method:: lcd.get(x, y) +.. method:: LCD.get(x, y) Get the pixel at the position ``(x, y)``. Returns 0 or 1. This method reads from the visible buffer. -.. method:: lcd.light(value) +.. method:: LCD.light(value) Turn the backlight on/off. True or 1 turns it on, False or 0 turns it off. -.. method:: lcd.pixel(x, y, colour) +.. method:: LCD.pixel(x, y, colour) Set the pixel at ``(x, y)`` to the given colour (0 or 1). This method writes to the hidden buffer. Use ``show()`` to show the buffer. -.. method:: lcd.show() +.. method:: LCD.show() Show the hidden buffer on the screen. -.. method:: lcd.text(str, x, y, colour) +.. method:: LCD.text(str, x, y, colour) Draw the given text to the position ``(x, y)`` using the given colour (0 or 1). This method writes to the hidden buffer. Use ``show()`` to show the buffer. -.. method:: lcd.write(str) +.. method:: LCD.write(str) Write the string ``str`` to the screen. It will appear immediately. |