solarenergy 2.0.0.0
|
SOLAR ENERGY Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
SOLAR ENERGY Click example.
This application charge the batery when is empty.
The demo application is composed of two sections :
Initialization driver enables - GPIO and start to write log.
This is an example which demonstrates the use of Solar Energy Click board. The following example will charge the battery if it is empty, and stop charging when the battery is full. When battery full status is detected, the device is disabled, but will check battery status every 10 seconds. Results are being sent to the Usart Terminal where you can track their changes.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |