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
Diff: main.cpp
- Revision:
- 6:89a39870e23d
- Parent:
- 5:01ad080dc4fa
- Child:
- 7:85b8b5acfb22
diff -r 01ad080dc4fa -r 89a39870e23d main.cpp --- a/main.cpp Thu Feb 20 23:30:53 2014 +0000 +++ b/main.cpp Thu Feb 20 23:33:45 2014 +0000 @@ -34,7 +34,7 @@ motors_init(); - motors_speed_set(5, 45); + motors_speed_set(600, 5); Pacer reportPacer(500000); Pacer blinkPacer(200000);