David's line following code from the LVBots competition, 2015.

Dependencies:   GeneralDebouncer Pacer PololuEncoder mbed

Fork of DeadReckoning by David Grayson

line_sensors.h

Committer:
DavidEGrayson
Date:
2015-04-15
Revision:
47:cb5c1504c24d
Parent:
31:739b91331f31

File content as of revision 47:cb5c1504c24d:

#pragma once

#include <mbed.h>

#define LINE_SENSOR_COUNT 3

//extern AnalogIn lineSensorsAnalog[LINE_SENSOR_COUNT];

uint16_t analogReadWithFilter(AnalogIn * input);

void readSensors(uint16_t * values);