Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SerialLCD Class Reference
class that implements an interface like TextLCD, for a serial LCD :) More...
#include <SerialLCD.h>
Data Structures | |
| struct | Codes |
| Enum with command codes. More... | |
Public Member Functions | |
| SerialLCD (PinName tx, PinName rx) | |
| Constructor. | |
| void | locate (int column, int row) |
| Locate to a screen column and row. | |
| void | cls () |
| Clear the screen and locate to 0,0. | |
| void | send_command (int const command_code) |
| Send a command. | |
Detailed Description
class that implements an interface like TextLCD, for a serial LCD :)
Definition at line 4 of file SerialLCD.h.
Constructor & Destructor Documentation
| SerialLCD | ( | PinName | tx, |
| PinName | rx | ||
| ) |
Constructor.
Definition at line 8 of file SerialLCD.h.
Member Function Documentation
| void cls | ( | ) |
Clear the screen and locate to 0,0.
Definition at line 51 of file SerialLCD.h.
| void locate | ( | int | column, |
| int | row | ||
| ) |
Locate to a screen column and row.
- Parameters:
-
column The horizontal position from the left, indexed from 0 row The vertical position from the top, indexed from 0
Definition at line 43 of file SerialLCD.h.
| void send_command | ( | int const | command_code ) |
Send a command.
Definition at line 59 of file SerialLCD.h.
Generated on Sun Jul 24 2022 08:33:23 by
1.7.2