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

Dependencies:   GeneralDebouncer Pacer PololuEncoder mbed

Fork of DeadReckoning by David Grayson

Revision:
16:8eaa5bc2bdb1
Parent:
12:835a4d24ae3b
Child:
17:2df9861f53ee
--- a/main.cpp	Mon Feb 24 00:21:05 2014 +0000
+++ b/main.cpp	Mon Feb 24 01:26:00 2014 +0000
@@ -7,6 +7,7 @@
 #include "pc_serial.h"
 #include "test.h"
 #include "reckoner.h"
+#include "buttons.h"
 
 int __attribute__((noreturn)) main()
 {
@@ -15,12 +16,14 @@
     // Enable pull-ups on encoder pins and give them a chance to settle.
     encodersInit();
     motorsInit();
+    buttonsInit();
 
     // Test routines
     //testMotors();
     //testEncoders();
     //testLineSensors();
-    testReckoner();
+    //testReckoner();
+    testButtons();
 
     while(1)
     {