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

Committer:
DavidEGrayson
Date:
Thu Feb 27 23:20:34 2014 +0000
Revision:
21:c279c6a83671
Parent:
10:e4dd36148539
Child:
28:4374035df5e0
Wrote a whole bunch of code that could theoretically allow the robot to compete, but it has not been tested at all yet.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
DavidEGrayson 10:e4dd36148539 1 #include "line_sensors.h"
DavidEGrayson 10:e4dd36148539 2
DavidEGrayson 10:e4dd36148539 3 AnalogIn lineSensorsAnalog[LINE_SENSOR_COUNT] = {
DavidEGrayson 10:e4dd36148539 4 AnalogIn(p20), // brown wire, left-most sensor
DavidEGrayson 10:e4dd36148539 5 AnalogIn(p19), // orange wire, middle sensor
DavidEGrayson 10:e4dd36148539 6 AnalogIn(p18), // blue wire, right-most sensor
DavidEGrayson 10:e4dd36148539 7 };