show a hello world message to the LCD

Dependencies:   TextLCD mbed

Fork of TextLCD_HelloWorld by Simon Ford

main.cpp

Committer:
nobukuma
Date:
2014-03-12
Revision:
3:2cd4ffb66cfc
Parent:
2:ad0b044d0a10

File content as of revision 3:2cd4ffb66cfc:

// Hello World! for the TextLCD

#include "mbed.h"
#include "TextLCD.h"

//TextLCD lcd(p15, p16, p17, p18, p19, p20); // rs, e, d4-d7
TextLCD lcd(p24, p26, p27, p28, p29, p30); // rs, e, d4-d7

int main() {
    lcd.printf("Hello World!\n");
}