Sebastian Zapata
/
Coso
Experimento LCD
Diff: main.cpp
- Revision:
- 0:52cafd82a3bf
diff -r 000000000000 -r 52cafd82a3bf main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Oct 06 03:01:31 2015 +0000 @@ -0,0 +1,15 @@ +// Hello World! for the TextLCD + +#include "mbed.h" +#include "TextLCD.h" + +TextLCD lcd(PTB10, PTB11, PTE2, PTE3, PTE4, PTE5); // rs, e, d4-d7 + +int main() + + { + lcd.printf("Hello World! \n Welcome"); + wait(5); + writeCommand(0x01); + lcd.printf("Tiamo"); + } \ No newline at end of file