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.
Diff: Test_BLINKY.cpp
- Revision:
- 1:1d8f913f704d
diff -r e51b311658fd -r 1d8f913f704d Test_BLINKY.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Test_BLINKY.cpp Sun Sep 27 16:23:28 2020 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" +DigitalOut red_led(LED1); + +int main(void) +{ + red_led=1; + + for(;;) + { + red_led=0; + wait_ms(500); // wait .5 seconds + red_led=1; + wait_ms(500); // wait .5 seconds + } +} \ No newline at end of file