|
powerbank2
2.0.0.0
|
Powerbank2 Click example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Powerbank2 Click example.
This single chip includes a linear charger, a synchronous Boost with dual output load management and a torch function support.
The demo application is composed of two sections :
Initalizes I2C driver and makes an initial log.
This example shows the capabilities of the Power Bank 2 click by measuring voltage of the connected battery. In order to get correct calculations the 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 | ) |