gyro6 2.0.0.0
|
Gyro6 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Gyro6 Click example.
This example demonstrates the use of Gyro 6 click board.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Waits for the data to be ready, then reads the values of all three axis and displays the results on the USB UART. The data sample rate is set to 10Hz by default, therefore the data is being read approximately every 100ms.
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 | ) |