David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
Diff: line_sensors.cpp
- Revision:
- 10:e4dd36148539
- Child:
- 28:4374035df5e0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/line_sensors.cpp Sat Feb 22 04:44:44 2014 +0000 @@ -0,0 +1,7 @@ +#include "line_sensors.h" + +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 +}; \ No newline at end of file