Zachary Sunberg / Mbed 2 deprecated SAILORSbot_student

Dependencies:   mbed

Fork of SAILORSbot by Zachary Sunberg

Revision:
18:f43f482ddede
Parent:
17:b2329b2cafa8
Child:
19:c900c40b270e
--- a/main.cpp	Wed Jul 22 20:00:59 2015 +0000
+++ b/main.cpp	Wed Jul 22 21:06:09 2015 +0000
@@ -20,7 +20,7 @@
 //////////////////////////////
 
 /*
- * This function will be called at approximately 20 Hz when the control mode is LINE_FOLLOW_MODE
+ * This function will be called at approximately <SPEED> when the control mode is LINE_FOLLOW_MODE
  */
 void line_follow_loop(){
     led4 = 1;
@@ -141,6 +141,7 @@
 
         led1 = 0;
         wait_ms(50);
+        
         pi.sensor_reading(sensors);
         int* s = sensors;
         __disable_irq();