David's dead reckoning code for the LVBots competition on March 6th. Uses the mbed LPC1768, DRV8835, QTR-3RC, and two DC motors with encoders.

Dependencies:   PololuEncoder Pacer mbed GeneralDebouncer

Revision:
31:739b91331f31
Parent:
29:cfcf08d8ac79
--- a/line_sensors.h	Tue Mar 04 02:09:54 2014 +0000
+++ b/line_sensors.h	Tue Mar 04 03:04:00 2014 +0000
@@ -4,6 +4,8 @@
 
 #define LINE_SENSOR_COUNT 3
 
-extern AnalogIn lineSensorsAnalog[LINE_SENSOR_COUNT];
+//extern AnalogIn lineSensorsAnalog[LINE_SENSOR_COUNT];
 
-uint16_t analogReadWithFilter(AnalogIn * input);
\ No newline at end of file
+uint16_t analogReadWithFilter(AnalogIn * input);
+
+void readSensors(uint16_t * values);
\ No newline at end of file