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.
Fork of HelloWorld by
main.cpp
00001 #include "mbed.h" 00002 00003 DigitalOut myled1(LED1), myled2(LED2), myled3(LED3), myled4(LED4); 00004 00005 int main() { 00006 while(1) { 00007 myled1 = 1; 00008 myled2 = 1; 00009 myled3 = 1; 00010 myled4 = 1; 00011 00012 myled1 = 0; 00013 myled4 = 1; 00014 wait(0.2); // XD AUTO KULKEE TAAS 00015 00016 myled2 = 0; 00017 myled1 = 1; 00018 wait(0.2); 00019 00020 myled3 = 0; 00021 myled2 = 1; 00022 wait(0.2); 00023 00024 myled4 = 0; 00025 myled3 = 1; 00026 wait(0.2); 00027 00028 } 00029 }
Generated on Fri Jul 15 2022 11:26:55 by
1.7.2
