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 00003 DigitalOut myled1(LED1),myled2(LED2),myled3(LED3); 00004 00005 int main() { 00006 while(1) { 00007 myled1 = 1; 00008 myled2 = 1; 00009 myled3 = 1; 00010 myled1 = 0; 00011 wait(1); 00012 myled2 = 0; 00013 wait(1); 00014 myled1 = 1; 00015 myled2 = 1; 00016 myled2 = 0; 00017 wait(1); 00018 myled2 = 1; 00019 myled3 = 0; 00020 wait(1); 00021 myled3 = 1; 00022 myled1 = 0; 00023 myled3 = 0; 00024 wait(1); 00025 myled1 = 1; 00026 myled3 = 1; 00027 00028 } 00029 }
Generated on Sun Jul 17 2022 11:24:32 by
1.7.2