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 "stdio.h" 00003 00004 DigitalOut myled(LED1); 00005 DigitalOut myled2(LED2); 00006 DigitalOut myled3(LED3); 00007 DigitalOut myled4(LED4); 00008 00009 int main() { 00010 while(1) { 00011 myled = 1; 00012 wait(0.1); 00013 myled = 0; 00014 wait(0.1); 00015 myled2 = 1; 00016 wait(0.1); 00017 myled2 = 0; 00018 wait(0.1); 00019 myled3 = 1; 00020 wait(0.1); 00021 myled3 = 0; 00022 wait(0.1); 00023 myled4 = 1; 00024 wait(0.1); 00025 myled4 = 0; 00026 wait(0.2); 00027 } 00028 //printf("Ends \n"); 00029 }
Generated on Wed Jul 20 2022 13:09:21 by
1.7.2