|
charger29 2.2.0
|
Charger 29 Click example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Charger 29 Click example.
This example demonstrates the use of the Charger 29 Click board. The application initializes the device and periodically checks the charging status. The status is displayed over the UART terminal and reflects whether the battery is charging in constant current (CC) mode, constant voltage (CV) mode, fully charged, or not charging.
The demo application is composed of two sections:
Initializes the logger and the Charger 29 Click driver and applies default configuration.
Periodically reads and logs the charging status once per second.
| 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 | ) |