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 3:019d8ca5aac4, committed 2016-03-04
- Comitter:
- lianghaopo
- Date:
- Fri Mar 04 14:23:37 2016 +0000
- Parent:
- 2:889d77deda82
- Commit message:
- version5
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file | 
--- a/main.cpp	Fri Mar 04 09:51:25 2016 +0000
+++ b/main.cpp	Fri Mar 04 14:23:37 2016 +0000
@@ -12,12 +12,13 @@
 }
 
 void timer_Init(){
+    myled = 1;
     timer_led.attach_us(&ISR_blink , 1000);
 }
 
 void timer_set(){
     timeDelay.attach(&timer_Init , 1.0);
-    myled = 1;
+    myled = 0;
     //wait(0.1);
     //myled = !myled;
     count = 0;