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 #include "mbed.h" 00002 #include "TextLCD.h" 00003 00004 TextLCD lcd(p20,p19,p21,p22,p23,p24); //rs,e,d4,d5,d6,d7 00005 int s,m,h; 00006 00007 int main() { 00008 while(1){ 00009 for(h=0;h<24;h++){ 00010 for(m=0;m<60;m++){ 00011 for(s=0;s<60;s++){ 00012 wait(1); 00013 lcd.locate(0,1); 00014 lcd.printf("Reloj: %2d:%2d:%2d",h,m,s); 00015 } 00016 } 00017 } 00018 } 00019 }
Generated on Sat Jul 16 2022 08:46:02 by
1.7.2