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 mbed-src by
Diff: common/board.c
- Revision:
- 221:8276e3a4886f
- Parent:
- 127:ce7cebc0511f
- Child:
- 228:85a676113daa
diff -r aa774fb95d17 -r 8276e3a4886f common/board.c --- a/common/board.c Tue Jun 03 10:30:56 2014 +0100 +++ b/common/board.c Tue Jun 03 11:30:07 2014 +0100 @@ -30,7 +30,7 @@ gpio_t led_3; gpio_init_out(&led_3, LED3); gpio_t led_4; gpio_init_out(&led_4, LED4); #endif - + while (1) { #if (DEVICE_ERROR_RED == 1) gpio_write(&led_red, 1); @@ -41,7 +41,7 @@ gpio_write(&led_3, 0); gpio_write(&led_4, 1); #endif - + wait_ms(150); #if (DEVICE_ERROR_RED == 1) @@ -53,7 +53,7 @@ gpio_write(&led_3, 1); gpio_write(&led_4, 0); #endif - + wait_ms(150); } }