current 2.0.0.0
|
Current Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Current Click example.
This is an example that shows the capabilities of the Current click board by measuring current in miliampers. Current click board can be used to safely measure DC current in the range of 2-2048mA depending on shunt resistor.
The demo application is composed of two sections :
Initalizes SPI, LOG and click drivers.
Measures DC current and displays the results on USB UART each second.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |