adswio3 2.1.0.0
|
AD-SWIO 3 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
AD-SWIO 3 Click example.
This library contains API for the AD-SWIO 3 Click driver for measurements of the analog output, analog input, digital input, resistance temperature detector (RTD), and thermocouple measurements.
The demo application is composed of two sections :
Initialization of SPI and log UART. After driver initialization, the app executes a default configuration that enables and sets it to measure IOP/ION voltage input from 0V to 12V, with 4.8k SPS and enabled four diagnostics measurements (AVDD, VASS, VACC and LVIN).
This example demonstrates the use of the AD-SWIO 3 Click board. The demo application reads and displays the voltage level input, measured by the voltage between the I/OP and I/ON screw terminals and NTC thermistor temperature in degrees Celsius. Results are being sent to the UART Terminal, where you can track their changes.
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 | ) |