current10
2.1.0.0
|
Current 10 Click Example. More...
Macros | |
#define | CURRENT10_CALIBRATING_CURRENT 3.0f |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Current 10 Click Example.
This example demonstrates the use of Current 10 click board by reading and displaying the input current measurements.
The demo application is composed of two sections :
Initializes the driver and calibrates the zero current offset and data resolution at 3A load current.
Reads the input current measurements and displays the results on the USB UART approximately once per second.
#define CURRENT10_CALIBRATING_CURRENT 3.0f |
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 | ) |