hallcurrent16 2.1.0.0
|
Hall Current 16 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Hall Current 16 Click example.
This example demonstrates the use of Hall Current 16 click board by reading and displaying the current measurements.
The demo application is composed of two sections :
The initialization of SPI module and log UART. After driver initialization, the app sets the default configuration.
The app reads the current measurements [A] and displays the results. Results are being sent to the UART Terminal, where you can track their changes.
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 | ) |