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.
Dependents: DigitaleingabeBluetooth_TI4 Temperatursever_TI4 BelueftungMitDS1820 ZustandCodeschloss ... more
lcd Class Reference
Verwendet SoftwareI2C von: mbed Library to use a software master i2c interface on any GPIO pins Copyright (c) 2012 Christopher Pepper Released under the MIT License: http://mbed.org/license/mit. More...
#include <LCD.h>
Public Member Functions | |
| lcd (void) | |
| Create LCD Instance. | |
| void | clear (void) |
| löscht das Display | |
| void | cursorpos (uint8_t pos) |
| Positioniert den Cursor. | |
| int | printf (const char *format,...) |
| Print formattet. | |
| void | locate (int column, int row) |
| Locate to a screen column and row. | |
| void | cls () |
| Clear the screen and locate to 0,0. | |
| void | putc (int c) |
| Write a character to the LCD. | |
Detailed Description
Verwendet SoftwareI2C von: mbed Library to use a software master i2c interface on any GPIO pins Copyright (c) 2012 Christopher Pepper Released under the MIT License: http://mbed.org/license/mit.
Example:
#include "LCD.h" lcd myLCD; int main() { int x=0; myLCD.clear(); myLCD.cursorpos(0); myLCD.printf("x=%d",x); while(1) { } }
Definition at line 27 of file LCD.h.
Constructor & Destructor Documentation
Member Function Documentation
| void cursorpos | ( | uint8_t | pos ) |
| void locate | ( | int | column, |
| int | row | ||
| ) |
| int printf | ( | const char * | format, |
| ... | |||
| ) |
Generated on Mon Jul 18 2022 14:47:38 by
1.7.2