![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Display text on screen.
Dependencies: TextLCD mbed MaxSonar RTC-DS1307
Fork of TextLCD_HelloWorld by
main.cpp
- Committer:
- aueangpanit
- Date:
- 2017-05-23
- Revision:
- 3:5e0ba6e35849
- Parent:
- 2:ad0b044d0a10
- Child:
- 4:c669026b6f6e
File content as of revision 3:5e0ba6e35849:
// Hello World! for the TextLCD #include "mbed.h" #include "TextLCD.h" TextLCD lcd(PTE30, PTE29, PTE23, PTE22, PTE21, PTE20); // rs, e, d4-d7 int i = 0; int main() { while(1){ lcd.cls(); lcd.printf("The Time now is: %d", i); i++; wait(1); } }