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:
10:e4dd36148539
Parent:
9:9734347b5756
Child:
12:835a4d24ae3b
--- a/main.cpp	Sat Feb 22 03:03:37 2014 +0000
+++ b/main.cpp	Sat Feb 22 04:44:44 2014 +0000
@@ -7,7 +7,7 @@
 #include "pc_serial.h"
 #include "test.h"
 
-int main()
+int __attribute__((noreturn)) main()
 {
     pc.baud(115200);
     
@@ -17,7 +17,8 @@
 
     // Test routines
     //testMotors();
-    testEncoders();
+    //testEncoders();
+    testLineSensors();
 
     while(1)
     {