powerbank 2.0.0.0
|
PowerBank Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
PowerBank Click example.
This application is example of the PowerBank Click functionality
The demo application is composed of two sections :
Initalizes I2C driver and makes an initial log.
This example shows the capabilities of the PowerBank click by measuring voltage of the connected battery. In order to get correct calculations user should change "v_ref" value to his own power supply voltage.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |