Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: sm_mpu.h
- Revision:
- 8:f23601373e8b
- Child:
- 9:1b54bac6d9a7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sm_mpu.h Wed Oct 02 22:25:12 2019 +0000 @@ -0,0 +1,21 @@ +#ifndef H_SM_MPU +#define H_SM_MPU + +#include "MPU6050.h" +#include "utils.h" + + +typedef enum{ + INIT_MPU, + RUNNING_MPU, + ERROR_MPU +}E_STATE_MPU; + +void mpu_log_notify(); +void mpu_log_start(int duration_ms); + +void init_sm_mpu(); +void update_sm_mpu(); +void output_sm_mpu(); + +#endif \ No newline at end of file