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

Dependencies:   mbed

main.cpp

Committer:
tlunzer
Date:
2011-05-24
Revision:
0:7781fb254c42

File content as of revision 0:7781fb254c42:

// 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!");
}