Takumi Okamoto
/
TextLCD_HelloWorld
Diff: main.cpp
- Revision:
- 0:9a443fca79c6
diff -r 000000000000 -r 9a443fca79c6 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sat Jun 04 10:35:43 2011 +0000 @@ -0,0 +1,17 @@ +// Hello World! for the TextLCD + +#include "mbed.h" +#include "TextLCD.h" + +TextLCD lcd( p24, p26, p27, p28, p29, p30 ); // rs, e, d4-d7 +char a[4]; +int main() { + + lcd.printf("Hello World!\n"); + wait(0.2); + + + + +// lcd.cls(); +}