LED flashing

Dependencies:   mbed

Fork of Robotics_LED by No.9 Robotics

Revision:
1:d5cf0fdad0f1
Parent:
0:bf4612a77210
Child:
2:5bdcacc40e5a
--- 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;