Simple Hello World! for the TextLCD library

Dependencies:   TextLCD mbed

Fork of TextLCD_HelloWorld by Simon Ford

Committer:
screamer
Date:
Fri Nov 01 15:38:16 2013 +0000
Revision:
3:49f256a49e3a
Parent:
2:ad0b044d0a10
my osm repo

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
simon 2:ad0b044d0a10 6 TextLCD lcd(p15, p16, p17, p18, p19, p20); // rs, e, d4-d7
simon 0:334327d1a416 7
simon 0:334327d1a416 8 int main() {
screamer 3:49f256a49e3a 9 int i = 0;
screamer 3:49f256a49e3a 10
simon 0:334327d1a416 11 lcd.printf("Hello World!\n");
simon 0:334327d1a416 12 }