A TextLCD interface for driving 4-bit 16x2 KS0066U LCD
Dependents: KS0066U4_16x2 LAB05_Oppgave4 LAB05_Oppgave2 LAB05_Oppgave3 ... more
Import library
Public Member Functions |
|
TextLCD (PinName rs, PinName rw, PinName e, PinName d4, PinName d5, PinName d6, PinName d7, const char *name=NULL) | |
Create a
TextLCD
interface and initiated 16x2 char mode.
|
|
void | lcdComand (unsigned char cmd) |
Writes a Command to the LCD-module.
|
|
void | lcdData (unsigned char data) |
Writes charecters to the LCD display.
|
|
void | gotoxy (int, int) |
moves text cursor to a screen column and row
|
|
int | putc (int c) |
Write a character to the LCD.
|
|
int | printf (const char *format,...) |
Write a formatted string to the LCD.
|
|
Protected Member Functions |
|
void | writeLcdBitD4toD7 (char data) |
Writes the low nible of data to the LCD-module.
|
|
void | pulseEn () |
Causes the LCD-module to read the data on the data input pins EN = 1 for L-to-H / EN = 0 for H-to-L.
|
|
void | init_4BitMode2LinesDisplayOn () |
Enable 4 bit mode From KS0066U Documentation.
|
History
Doc Update
2015-09-22, by rlanghbv [Tue, 22 Sep 2015 08:14:07 +0000] rev 19
Doc Update
writeLcdBitD4toD7 placed as a protected function
2015-09-22, by rlanghbv [Tue, 22 Sep 2015 08:10:46 +0000] rev 18
writeLcdBitD4toD7 placed as a protected function
LCD Init Fix
2015-09-21, by rlanghbv [Mon, 21 Sep 2015 10:17:51 +0000] rev 17
LCD Init Fix
Init Fixed for other 16x2 Display modules
2015-09-21, by rlanghbv [Mon, 21 Sep 2015 09:25:53 +0000] rev 16
Init Fixed for other 16x2 Display modules
Default constructor fixup
2015-09-20, by rlanghbv [Sun, 20 Sep 2015 17:15:01 +0000] rev 15
Default constructor fixup
Doc Update
2015-09-20, by rlanghbv [Sun, 20 Sep 2015 17:12:01 +0000] rev 14
Doc Update
Doc Update
2015-09-20, by rlanghbv [Sun, 20 Sep 2015 17:10:05 +0000] rev 13
Doc Update
Doc Update
2015-09-20, by rlanghbv [Sun, 20 Sep 2015 17:08:38 +0000] rev 12
Doc Update
Doc Update
2015-09-20, by rlanghbv [Sun, 20 Sep 2015 17:07:11 +0000] rev 11
Doc Update
Warning fix/ Code Cleanup
2015-09-20, by rlanghbv [Sun, 20 Sep 2015 17:05:30 +0000] rev 10
Warning fix/ Code Cleanup