16x1 panels are actually handled as 8x2 panels. To handle them as named I added a new type LCD16x1

Dependencies:   mbed

Committer:
tlunzer
Date:
Tue May 24 04:46:36 2011 +0000
Revision:
0:7781fb254c42
Added Support for 16x1 LCD panels

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tlunzer 0:7781fb254c42 1 // Hello World! for the TextLCD
tlunzer 0:7781fb254c42 2
tlunzer 0:7781fb254c42 3 #include "mbed.h"
tlunzer 0:7781fb254c42 4 #include "TextLCD.h"
tlunzer 0:7781fb254c42 5
tlunzer 0:7781fb254c42 6 TextLCD lcd(p15, p16, p17, p18, p19, p20, TextLCD::LCD16x1); // rs, e, d4-d7
tlunzer 0:7781fb254c42 7
tlunzer 0:7781fb254c42 8 int main() {
tlunzer 0:7781fb254c42 9 lcd.printf("Hello World!");
tlunzer 0:7781fb254c42 10 }