dac17
2.1.0.0
|
DAC 17 Click example. More...
Macros | |
#define | DAC17_OUTPUT_ZERO 0x0000u |
#define | DAC17_OUTPUT_MID_SCALE 0x0800u |
#define | DAC17_OUTPUT_FULL_SCALE 0x0FFFu |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
DAC 17 Click example.
This example demonstrates the use of DAC 17 Click board by changing the voltage level on the output channels.
The demo application is composed of two sections :
Initializes the driver and performs Click default configuration.
Changes the output channels voltage level starting from full scale ( REF voltage ),
to the mid-scale ( half of the REF voltage ), and then to zero every two seconds.
#define DAC17_OUTPUT_FULL_SCALE 0x0FFFu |
#define DAC17_OUTPUT_MID_SCALE 0x0800u |
#define DAC17_OUTPUT_ZERO 0x0000u |
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 | ) |