adc7 2.0.0.0
|
ADC7 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
ADC7 Click example.
This application collects data from the analog signal, calculates and logs the converted voltage value.
The demo application is composed of two sections :
Initializes driver and performs configuration for conversion cycles.
Performs the determined number of conversion cycles which are necessary for averaging. When all conversion cycles are done, it reads the converted voltage value. Results will be logged on UART terminal every second.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |