Thomas Lunzer
/
TextLCD_HelloWorld
16x1 panels are actually handled as 8x2 panels. To handle them as named I added a new type LCD16x1
Diff: main.cpp
- Revision:
- 0:7781fb254c42
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue May 24 04:46:36 2011 +0000 @@ -0,0 +1,10 @@ +// Hello World! for the TextLCD + +#include "mbed.h" +#include "TextLCD.h" + +TextLCD lcd(p15, p16, p17, p18, p19, p20, TextLCD::LCD16x1); // rs, e, d4-d7 + +int main() { + lcd.printf("Hello World!"); +} \ No newline at end of file