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

Dependencies:   GeneralDebouncer Pacer PololuEncoder mbed

Fork of DeadReckoning by David Grayson

Revision:
57:99bec7fab454
Parent:
56:55b1473f9e3b
--- a/main.cpp	Thu Apr 16 21:02:38 2015 +0000
+++ b/main.cpp	Thu Apr 16 22:00:15 2015 +0000
@@ -408,7 +408,7 @@
             nextLogEncoderCount = 0;
         }
         
-        if (lapsCompleted == 3 && totalEncoderCounts > 2000)
+        if (lapsCompleted == 3 && totalEncoderCounts > 4000)
         {
             // Classy move: know when you are done with the competition and stop automatically.
             // (Of course, there is a risk that this will backfire!)