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:
48:597738b77f77
Parent:
47:9773dc14c834
--- a/main.cpp	Wed Jul 31 07:14:09 2019 +0000
+++ b/main.cpp	Tue Aug 13 21:21:17 2019 +0000
@@ -22,13 +22,14 @@
 TurnSensor turnSensor;
 Logger logger;
 
+const uint32_t timeout = 0;
+
+const uint32_t logSpacing = 200;
+
+const int16_t drivingSpeed = 500;
+
 uint32_t totalEncoderCounts = 0;
 uint32_t nextLogEncoderCount = 0;
-const uint32_t logSpacing = 250;
-
-const int16_t drivingSpeed = 400;
-
-const uint32_t timeout = 1*60000;
 
 
 void setLeds(bool v1, bool v2, bool v3, bool v4)