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

Dependencies:   GeneralDebouncer Pacer PololuEncoder mbed

Fork of DeadReckoning by David Grayson

Revision:
12:835a4d24ae3b
Parent:
9:9734347b5756
--- a/encoders.cpp	Sat Feb 22 04:53:35 2014 +0000
+++ b/encoders.cpp	Sun Feb 23 22:23:34 2014 +0000
@@ -6,8 +6,8 @@
               encoderPinRightB = p29;  // Gray wire
 
 PololuEncoderBuffer encoderBuffer;
-PololuEncoder encoderLeft(encoderPinLeftA, encoderPinLeftB, &encoderBuffer, ENCODER1);
-PololuEncoder encoderRight(encoderPinRightA, encoderPinRightB, &encoderBuffer, ENCODER2);
+PololuEncoder encoderLeft(encoderPinLeftA, encoderPinLeftB, &encoderBuffer, ENCODER_LEFT);
+PololuEncoder encoderRight(encoderPinRightA, encoderPinRightB, &encoderBuffer, ENCODER_RIGHT);
 
 void encodersInit()
 {