pot
2.0.0.0
|
Pot Click example. More...
Macros | |
#define | N_SAMPLES 100 |
#define | ADC_V_REF_MV 1790 |
#define | ADC_12BIT_RESOL 4096 |
#define | ADC_10BIT_RESOL 1024 |
Functions | |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
Pot Click example.
Click board with the accurate selectable reference voltage output.
The demo application is composed of two sections :
Performs logger and Click initialization.
Makes the averaged results by using the desired number of samples of AD conversion. The averaged results will be calculated to millivolts [mV] and sent to the uart terminal.
note: The AD conversion will be performed on the analog (AN) pin on the mikrobus 1.
#define ADC_10BIT_RESOL 1024 |
#define ADC_12BIT_RESOL 4096 |
#define ADC_V_REF_MV 1790 |
#define N_SAMPLES 100 |
void application_init | ( | void | ) |
void application_task | ( | void | ) |
void main | ( | void | ) |