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:
17:2df9861f53ee
Parent:
16:8eaa5bc2bdb1
--- a/buttons.cpp	Mon Feb 24 01:26:00 2014 +0000
+++ b/buttons.cpp	Mon Feb 24 01:38:55 2014 +0000
@@ -27,7 +27,7 @@
 {
     button1Montior();
     return button1Debouncer.getState() == state &&
-      button1Debouncer.getTimeInCurrentStateMicroseconds() > BUTTON_DEBOUNCE_TIME;   
+      button1Debouncer.getTimeInCurrentStateMicroseconds() > BUTTON_DEBOUNCE_TIME;
 }
 
 bool button1DefinitelyPressed()