Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
00001 // Hello World! for the TextLCD 00002 00003 #include "mbed.h" 00004 #include "TextLCD.h" 00005 #include "stdio.h" 00006 TextLCD lcd(PTC9, PTC8, PTA5, PTA4, PTA12, PTD4); // rs, e, d4-d7 00007 00008 int main() 00009 { 00010 lcd.cls(); 00011 lcd.printf("This is 16X2 LCD \n"); 00012 while (1) 00013 { 00014 lcd.locate(9,1); 00015 00016 00017 wait(2); 00018 00019 } 00020 00021 }
Generated on Mon Aug 15 2022 10:43:44 by
1.7.2