charger26 2.1.0.0
|
Charger 26 Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Charger 26 Click Example.
This example demonstrates the use of Charger 26 click board by enabling the device and then reading and displaying the charger status.
The demo application is composed of two sections :
Initializes the driver and enables the device, sets the output voltage to 4.2 V and charging current to 100 mA.
Tracking charging status, as soon as charging stops, device output is disabled.
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 | ) |