current5 2.0.0.0
|
Current5 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Current5 Click example.
This example application showcases ability of the device to read raw adc data and calculate the current from it.
The demo application is composed of two sections :
Initialization of communication modules(SPI, UART) and additional pins for controlling device(RST, ALERT->INT).
Read ADC data with SPI communication and calculate input current.
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 | ) |