Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
Revision 57:99bec7fab454, committed 2015-04-16
- Comitter:
- DavidEGrayson
- Date:
- Thu Apr 16 22:00:15 2015 +0000
- Parent:
- 56:55b1473f9e3b
- Commit message:
- Doubled the encoder counts for indicating the end of the course because we might have to start a little bit back from the finish line.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Apr 16 21:02:38 2015 +0000 +++ b/main.cpp Thu Apr 16 22:00:15 2015 +0000 @@ -408,7 +408,7 @@ nextLogEncoderCount = 0; } - if (lapsCompleted == 3 && totalEncoderCounts > 2000) + if (lapsCompleted == 3 && totalEncoderCounts > 4000) { // Classy move: know when you are done with the competition and stop automatically. // (Of course, there is a risk that this will backfire!)