compass7 2.0.0.0
|
Compass7 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Compass7 Click example.
This example demonstrates the use of Compass 7 click board by reading and displaying the magnetic field strength of 3-axis as well as the temperature measurements in Celsius.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Starts the single magnetic measurement and reads the magnetic field strength of 3-axis in Gauss, then starts the temperature measurement and reads the temperature in Celsius. The results are being displayed on the USB UART every 100ms approximately.
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 | ) |