2016/2/29 LED Yu-Hsuan edited

Dependencies:   mbed

Revision:
1:d5cf0fdad0f1
Parent:
0:bf4612a77210
Child:
2:9e5b526db3aa
diff -r bf4612a77210 -r d5cf0fdad0f1 main.cpp
--- a/main.cpp	Mon Feb 29 15:39:36 2016 +0000
+++ b/main.cpp	Mon Feb 29 16:11:39 2016 +0000
@@ -40,7 +40,7 @@
             // led_1 flashes
             led_1 = 1;
             wait_ms(1);
-            led1 = 0;
+            led_1 = 0;
             
             // reset timer_1_counter to zero
             timer_1_counter = 0;