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:
- 4:1b20a11765c8
- Child:
- 8:78b1ff957cba
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/motors.h Thu Feb 20 22:59:28 2014 +0000 @@ -0,0 +1,2 @@ +void motors_init(); +void motors_speed_set(int16_t motor1_speed, int16_t motor2_speed);