EDF - OnePIC MCU
v1.1.0
|
configures the potentiometer and takes a reading More...
Go to the source code of this file.
Defines | |
#define | FILTER_MEDIAN_LENGTH 3 |
#define | FILTER_MIDDLE_VALUE (FILTER_MEDIAN_LENGTH-1)/2 |
Functions | |
void | EDF_potInit (void) |
Initilizes the POT to take a reading. | |
uint16_t | filterMedian (uint16_t d) |
experiencing some dropped readings, so the median filter takes three samples and passes the median of the three | |
uint16_t | EDF_potRead (void) |
takes the reading |
configures the potentiometer and takes a reading
Definition in file OnePIC_16bit_pot.c.