accel6 2.0.0.0
|
Accel6 Click example. More...
Functions | |
void | application_init (void) |
void | application_task () |
int | main (void) |
Accel6 Click example.
This application allows acceleration measurement in three perpendicular axes.
The demo application is composed of two sections :
Initializes Driver init and settings accelerometer data range, bandwidth, mode and sleep timer which are necessary for the init chip.
Reads the accel X / Y / Z axis data in mg, Temperature data in C, detects the orientation of the X,Y and Z axis and checking on which axis the tap is detected. All data logs on usb uart for every 500 ms.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | ) |
int main | ( | void | ) |