show a hello world message to the LCD

Dependencies:   TextLCD mbed

Fork of TextLCD_HelloWorld by Simon Ford

Committer:
nobukuma
Date:
Wed Mar 12 13:28:27 2014 +0000
Revision:
3:2cd4ffb66cfc
Parent:
2:ad0b044d0a10
Change the pin assignment for board orange.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
simon 1:7418a52375a0 1 // Hello World! for the TextLCD
simon 1:7418a52375a0 2
simon 0:334327d1a416 3 #include "mbed.h"
simon 0:334327d1a416 4 #include "TextLCD.h"
simon 0:334327d1a416 5
nobukuma 3:2cd4ffb66cfc 6 //TextLCD lcd(p15, p16, p17, p18, p19, p20); // rs, e, d4-d7
nobukuma 3:2cd4ffb66cfc 7 TextLCD lcd(p24, p26, p27, p28, p29, p30); // rs, e, d4-d7
simon 0:334327d1a416 8
simon 0:334327d1a416 9 int main() {
simon 0:334327d1a416 10 lcd.printf("Hello World!\n");
simon 0:334327d1a416 11 }