Suad Suljic
/
LCD
h
Diff: main.cpp
- Revision:
- 0:7376fc7a774b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Feb 01 10:56:13 2018 +0000 @@ -0,0 +1,17 @@ +// Hello World! for the TextLCD + +#include "mbed.h" +#include "TextLCD.h" + +TextLCD lcd(D2, D3, D4, D5, D6, D7); // rs, e, d4-d7 + +int main() { + lcd.printf("Hello GRGA!\n"); + wait(3); + //lcd.cls(); + lcd.locate(0,0); + lcd.printf("Whats Up"); + lcd.cls(); + wait(3); + +}