dac3 2.0.0.0
|
DAC3 Click example. More...
Functions | |
void | application_init () |
void | application_task () |
int | main (void) |
DAC3 Click example.
This example showcases how to initialize, configure and use the DAC 3 click module. The click performs digital to analog conversion and the output voltage can be read on the output termi- nal using a multimeter. An oscilloscope is required to read the analog signal.
The demo application is composed of two sections :
This function configures and initializes the click and logger modules. The write_all_mem(...) function configures DAC settings.
This function resets and wakes up the click module and then changes the output voltage on the output terminal a few times in a loop with a 5 second delay. It does so every 1 second.
void application_init | ( | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | ) |
int main | ( | void | ) |