smartdof 2.0.0.0
|
SmartDof Click example. More...
Functions | |
void | check_sensor_status () |
void | accelerometer_task (smartdof_t *ctx, smartdof_sfc_t *sfc) |
void | magnetometer_task (smartdof_t *ctx, smartdof_sfc_t *sfc) |
void | gyroscope_task (smartdof_t *ctx, smartdof_sfc_t *sfc) |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
SmartDof Click example.
This click integrates a triaxial accelerometer, triaxial gyroscope and magnetometer. It can provide very accurate and precise 3D acceleration, magnetic, and angular velocity data, in real-time.
The demo application is composed of two sections :
Initializes I2C driver and Smart DOF device
Executes one of 'smartdof_xxx_task()' additional functions
note:
Additional Functions : - accelerometer_task() - initializes accelerometer reports in 100000 micro second intervals, receives, parses and logs report data - gyroscope_task() - initializes gyroscope calibrated reports in 100000 micro second intervals, receives, parses and logs report data - magnetometer_task() - initializes magnetometer calibrated reports in 100000 micro second intervals, receives, parses and logs report data
void accelerometer_task | ( | smartdof_t * | ctx, |
smartdof_sfc_t * | sfc ) |
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
void check_sensor_status | ( | ) |
void gyroscope_task | ( | smartdof_t * | ctx, |
smartdof_sfc_t * | sfc ) |
void magnetometer_task | ( | smartdof_t * | ctx, |
smartdof_sfc_t * | sfc ) |
int main | ( | void | ) |