digipot7 2.0.0.0
|
DIGIPOT7 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
DIGIPOT7 Click example.
This is an example that demonstrate the use of the DIGI POT 7 click board.
The demo application is composed of two sections :
Initialization enables I2C, perform a hardware reset, enable write and set to normal operating mode, also write log.
In this example we set different resistance values: 1.024 kOhm, 2.048 kOhm, 4.096 kOhm and 8.192 kOhm. Results are being sent to the Usart Terminal where you can track their changes. All data logs write on USB uart changes approximately for every 5 sec.
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 | ) |