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
Revision 1:b63700fbbf1f, committed 2016-02-22
- Comitter:
- YCTung
- Date:
- Mon Feb 22 14:28:28 2016 +0000
- Parent:
- 0:40477eb0350c
- Commit message:
- use only two LEDs : D13 and D12
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Feb 22 13:04:31 2016 +0000
+++ b/main.cpp Mon Feb 22 14:28:28 2016 +0000
@@ -4,14 +4,12 @@
//LED1 = D13 = PA_5 (LED on Nucleo board)
DigitalOut led1(LED1);
DigitalOut led2(D12);
-DigitalOut led3(D11);
Ticker timer1;
void init_IO(void){
led1 = 0;
led2 = 1;
- led3 = 1;
}
void timer1_interrupt(){