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.
Dependencies: mbed
main.cpp
00001 #include "mbed.h" 00002 00003 00004 DigitalOut green_led(LED_GREEN); 00005 DigitalOut red_led(LED_RED); 00006 DigitalOut blue_led(LED_BLUE); 00007 00008 00009 int main() { 00010 while(1) { 00011 green_led = 1; 00012 red_led = 0; 00013 blue_led = 0; 00014 wait(1); 00015 green_led = 0; 00016 red_led = 1; 00017 blue_led = 0; 00018 wait(1); 00019 green_led = 1; 00020 red_led = 0; 00021 blue_led = 1; 00022 wait(1); 00023 00024 } 00025 }
Generated on Wed Jul 20 2022 17:19:20 by
1.7.2