hallswitch3 2.1.0.0
|
Hall Switch 3 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Hall Switch 3 Click example.
This example demonstrates the use of Hall Switch 3 Click board by reading and displaying the magnetic field strength value.
The demo application is composed of two sections :
Initialization of I2C module and log UART. After driver initialization, the app executes a default configuration.
This example demonstrates the use of the Hall Switch 3 Click board. The demo application reads and displays the relative magnetic field strength value [Gaussian units] and detects when the magnetic field strength is not in the configured range. The results are sent to the UART terminal, where you can monitor 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 | ) |