David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
line_sensors.cpp
- Committer:
- DavidEGrayson
- Date:
- 2014-03-01
- Revision:
- 28:4374035df5e0
- Parent:
- 10:e4dd36148539
- Child:
- 29:cfcf08d8ac79
File content as of revision 28:4374035df5e0:
#include "line_sensors.h" AnalogIn lineSensorsAnalog[LINE_SENSOR_COUNT] = { AnalogIn(p20), // brown wire, left-most sensor AnalogIn(p19), // orange wire, middle sensor AnalogIn(p17), // blue wire, right-most sensor };