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 "rtos.h" 00003 #define OSCODE 00004 00005 BusOut leds(P1_28, P1_29, P1_31, P2_2, P2_3, P2_4, P2_5, P2_6); 00006 AnalogIn in(P0_25); 00007 00008 int main() { 00009 leds = 0x0F; 00010 00011 while (true) 00012 { 00013 00014 printf("Toggle\n"); 00015 leds = ~(leds); 00016 wait(1); 00017 } 00018 }
Generated on Sat Jul 30 2022 06:40:29 by
1.7.2