hallswitch2 2.0.0.0
|
Hall Switch 2 Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Hall Switch 2 Click Example.
This example demonstrates the use of Hall Switch 2 click board.
The demo application is composed of two sections :
Initializes the driver and logger and makes an initial log.
Displays the corresponding message on the USB UART based on the switches state, i.e. based on the magnetic field presence.
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 | ) |