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: line_sensors.cpp
- Revision:
- 28:4374035df5e0
- Parent:
- 10:e4dd36148539
- Child:
- 29:cfcf08d8ac79
--- a/line_sensors.cpp Sat Mar 01 01:46:35 2014 +0000 +++ b/line_sensors.cpp Sat Mar 01 03:13:57 2014 +0000 @@ -3,5 +3,5 @@ AnalogIn lineSensorsAnalog[LINE_SENSOR_COUNT] = { AnalogIn(p20), // brown wire, left-most sensor AnalogIn(p19), // orange wire, middle sensor - AnalogIn(p18), // blue wire, right-most sensor + AnalogIn(p17), // blue wire, right-most sensor }; \ No newline at end of file