car using PID from centre line

Dependencies:   FRDM-TFC mbed CBuffer XBEE mbed_angular_speed motor2 MMA8451Q

Fork of KL25Z_Camera_Test by GDP 4

Revision:
54:78854efeb1df
Parent:
52:af17b1a330f4
diff -r f25846758cd4 -r 78854efeb1df main.cpp
--- a/main.cpp	Fri Apr 28 07:55:43 2017 +0000
+++ b/main.cpp	Fri Apr 28 07:58:19 2017 +0000
@@ -76,7 +76,7 @@
             
             // Check if car is at the stop line
             
-            if(loop % 10 == 0) {
+            /*if(loop % 10 == 0) {
                 accc = checkAcc();
             }
             
@@ -85,6 +85,7 @@
             } else {    
                 //sendString("up %f", accc);    
             }
+            */