adc11 2.0.0.0
|
Adc11 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
adc11_calibration_data_t | avg_adc_data |
float | voltage |
uint16_t | adc_data |
Adc11 Click example.
This library contains API for ADC 11 Click driver. The library contains drivers for measuring ADC values
and for calculation voltage.
The demo application is composed of two sections :
Initializes SPI driver and triggers the built-in calibration.
This is an example that demonstrates the use of the ADC 11 Click board. In this example, we monitor and display voltage [ V ]. Results are being sent to the Usart Terminal, where you can track their changes. All data logs write on USB UART changes every 2 sec.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
uint16_t adc_data |
adc11_calibration_data_t avg_adc_data |
float voltage |