David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
Diff: main.cpp
- Revision:
- 49:eaa6fd514f4f
- Parent:
- 48:c84b7b3ab0e8
- Child:
- 50:517c0f0e621f
diff -r c84b7b3ab0e8 -r eaa6fd514f4f main.cpp --- a/main.cpp Wed Apr 15 21:42:52 2015 +0000 +++ b/main.cpp Wed Apr 15 21:58:21 2015 +0000 @@ -23,7 +23,7 @@ uint32_t totalEncoderCounts = 0; uint32_t nextLogEncoderCount = 0; -const uint32_t logSpacing = 200; +const uint32_t logSpacing = 100; void setLeds(bool v1, bool v2, bool v3, bool v4) {