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: motors.h
- Revision:
- 32:83a13b06093c
- Parent:
- 9:9734347b5756
diff -r 739b91331f31 -r 83a13b06093c motors.h --- a/motors.h Tue Mar 04 03:04:00 2014 +0000 +++ b/motors.h Tue Mar 04 04:32:51 2014 +0000 @@ -2,3 +2,5 @@ void motorsInit(); void motorsSpeedSet(int16_t motorLeftSpeed, int16_t motorRightSpeed); + +extern int16_t motorLeftSpeed, motorRightSpeed; \ No newline at end of file