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:
- 8:78b1ff957cba
- Parent:
- 4:1b20a11765c8
- Child:
- 9:9734347b5756
diff -r 85b8b5acfb22 -r 78b1ff957cba motors.h --- a/motors.h Fri Feb 21 00:00:43 2014 +0000 +++ b/motors.h Sat Feb 22 02:23:21 2014 +0000 @@ -1,2 +1,4 @@ +#pragma once + void motors_init(); void motors_speed_set(int16_t motor1_speed, int16_t motor2_speed);