smartdof4 2.1.0.0
|
Smart DOF 4 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Smart DOF 4 Click example.
This example demonstrates the use of Smart DOF 4 Click board by reading the accelerometer, gyroscope, and magnetometer data measurements.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration enabling accelerometer, gyroscope, and magnetometer sensors with an output data rate of 10Hz. After that, it reads the software version, part number, and build number information.
Reads the accelerometer (g), gyroscope (dps), and magnetometer (uT) measurements and displays results 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 | ) |