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:
20:ed954836d028
Parent:
18:0095a3a8f8e4
Child:
25:7052d7f2841f
Child:
27:627d67e3b9b0
diff -r 65f0b6febc23 -r ed954836d028 main.h
--- a/main.h	Wed Dec 07 15:10:59 2016 +0000
+++ b/main.h	Fri Dec 09 11:10:14 2016 +0000
@@ -85,6 +85,7 @@
 // Speed sensors
 volatile float Time_L,Time_R;
 float wL, wR;
+float prevL, prevR;
 void GetTime_L();
 void GetTime_R();