|
adac4 2.2.0
|
ADAC 4 Click example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
ADAC 4 Click example.
This example demonstrates the use of the ADAC 4 Click board which features an 8-channel, 12-bit DAC and ADC. The application configures each DAC channel with incremental values and measures the corresponding output voltage using the integrated ADC, as well as logs the device die temperature.
The demo application is composed of two sections :
Initializes the logger and the Click board driver, and applies the default configuration.
Iterates through all 8 DAC/ADC channels, sets an output voltage, reads back the corresponding ADC voltage, and logs both values. Also reads and logs the die temperature.
| 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 | ) |