dac12 2.0.0.0
|
DAC12 Click example. More...
Macros | |
#define | NUMBER_OF_STEPS 20 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
DAC12 Click example.
This example demonstrates the use of DAC 12 click board by changing the outputs voltage level every 2 seconds.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Changes the output voltage of all channels every 2 seconds and logs the voltage value on the USB UART. It will go through the entire voltage range taking into account the number of steps which is defined below.
#define NUMBER_OF_STEPS 20 |
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 | ) |