Plamen Totev
/
LCD20x2_umair
rev1
Fork of LCD20x2 by
main.cpp
- Committer:
- redplam
- Date:
- 2014-03-19
- Revision:
- 1:ededb7b77825
- Parent:
- 0:157f39f309fa
File content as of revision 1:ededb7b77825:
// Hello World! for the TextLCD #include "mbed.h" #include "TextLCD.h" Serial pc(USBTX, USBRX); // tx, rx //TextLCD lcd(PTA1, PTA2, PTD4, PTA12, PTA4, PTA5, TextLCD::LCD20x2); // rs, e, d4-d7 ok TextLCD lcd(PTE29, PTE30, PTC1, PTC2, PTB3, PTB2, TextLCD::LCD20x2); // rs, e, d4-d7 ok int main() { // Show cursor as blinking character lcd.setCursor(TextLCD::CurOff_BlkOn); lcd.printf("Hello Plamen"); lcd.locate(0,1); lcd.printf("Its Working Now"); }