Dependencies:   TextLCD mbed

Committer:
MrBearing
Date:
Sat Jun 04 10:35:43 2011 +0000
Revision:
0:9a443fca79c6

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MrBearing 0:9a443fca79c6 1 // Hello World! for the TextLCD
MrBearing 0:9a443fca79c6 2
MrBearing 0:9a443fca79c6 3 #include "mbed.h"
MrBearing 0:9a443fca79c6 4 #include "TextLCD.h"
MrBearing 0:9a443fca79c6 5
MrBearing 0:9a443fca79c6 6 TextLCD lcd( p24, p26, p27, p28, p29, p30 ); // rs, e, d4-d7
MrBearing 0:9a443fca79c6 7 char a[4];
MrBearing 0:9a443fca79c6 8 int main() {
MrBearing 0:9a443fca79c6 9
MrBearing 0:9a443fca79c6 10 lcd.printf("Hello World!\n");
MrBearing 0:9a443fca79c6 11 wait(0.2);
MrBearing 0:9a443fca79c6 12
MrBearing 0:9a443fca79c6 13
MrBearing 0:9a443fca79c6 14
MrBearing 0:9a443fca79c6 15
MrBearing 0:9a443fca79c6 16 // lcd.cls();
MrBearing 0:9a443fca79c6 17 }