battmon4 2.0.0.0
|
BATTMON4 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
BATTMON4 Click example.
This example demonstrates the use of BATT-MON 4 click board by reading the battery voltage and the chip internal temperature.
The demo application is composed of two sections :
Initializes the driver and logger.
Reads the chip DIE temperature and voltage from BATT IN and BATT OUT and displays the results on the USB UART approximately 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 | ) |