Harish Mekali
/
LCD_lib
LCD with lib
Fork of mX_LCD by
Diff: main.cpp
- Revision:
- 1:6175fafa4474
- Parent:
- 0:fdcca458129b
diff -r fdcca458129b -r 6175fafa4474 main.cpp --- a/main.cpp Wed Dec 08 06:25:47 2010 +0000 +++ b/main.cpp Mon Feb 18 07:07:58 2013 +0000 @@ -1,9 +1,8 @@ -#include "mbed.h" -#include "TextLCD.h" - -TextLCD lcd(p24, p25, p26, p27, p28, p29, p30); // rs, rw, e, d4, d5, d6, d7 - -int main() { - lcd.cls(); - lcd.printf("NGX Technologies"); -} \ No newline at end of file + #include "mbed.h" + #include "TextLCD.h" + + TextLCD lcd(p19, p20, p21, p22, p23, p24); // rs, e, d0-d3 + + int main() { + lcd.printf("Hello World!\n"); + } \ No newline at end of file