digipot3 2.0.0.0
|
DigiPot3 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint16_t | digital_value |
uint16_t | eemem_value |
DigiPot3 Click example.
This app get value from digital potentiometer and stored to the EEMEM memory.
The demo application is composed of two sections :
Initializes device.
Increments the wiper position by 6dB every 2 seconds. When wiper position reaches the desired value (0x0200), then the wiper position be decremented by 6dB every 2 seconds, until position value reaches the new desired value (0x0002). After that the new position value will be stored to the EEMEM memory, if that value does not already exist in the EEMEM memory.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
uint16_t digital_value |
uint16_t eemem_value |