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:
14:c8cca3687e64
Parent:
13:bba5b3abd13f
Child:
16:8eaa5bc2bdb1
--- a/test.cpp	Sun Feb 23 23:49:58 2014 +0000
+++ b/test.cpp	Mon Feb 24 00:07:54 2014 +0000
@@ -26,7 +26,7 @@
         
         if (reportPacer.pace())
         {
-            pc.printf("%11d %11d %11d %11d | %8d %8d \n",
+            pc.printf("%11d %11d %11d %11d | %8d %8d\r\n",
               reckoner.cos, reckoner.sin, reckoner.x, reckoner.y,
               encoderLeft.getCount(), encoderRight.getCount());
         }