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:
12:835a4d24ae3b
Parent:
9:9734347b5756
--- a/encoders.h	Sat Feb 22 04:53:35 2014 +0000
+++ b/encoders.h	Sun Feb 23 22:23:34 2014 +0000
@@ -2,8 +2,8 @@
 
 #include <PololuEncoder.h>
 
-#define ENCODER1 0x00
-#define ENCODER2 0x01
+#define ENCODER_LEFT 0x00
+#define ENCODER_RIGHT 0x01
 
 extern PololuEncoderBuffer encoderBuffer;
 extern PololuEncoder encoderLeft, encoderRight;