David's line following code from the LVBots competition, 2015.

Dependencies:   GeneralDebouncer Pacer PololuEncoder mbed

Fork of DeadReckoning by David Grayson

Revision:
22:44c032e59ff5
Parent:
21:c279c6a83671
--- a/line_tracker.h	Thu Feb 27 23:20:34 2014 +0000
+++ b/line_tracker.h	Fri Feb 28 00:16:49 2014 +0000
@@ -22,6 +22,10 @@
     void readRawValues();
     void updateCalibratedValues();
     void updateLineStatus();
+
+    uint8_t calibrationState;
+    uint16_t recentValuesMax[LINE_SENSOR_COUNT];
+    uint16_t recentValuesMin[LINE_SENSOR_COUNT];
     
     bool lineVisible;
     uint16_t linePosition;