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.
sm_mpu.h@9:1b54bac6d9a7, 2019-10-03 (annotated)
- Committer:
- GaspardD
- Date:
- Thu Oct 03 23:28:56 2019 +0000
- Revision:
- 9:1b54bac6d9a7
- Parent:
- 8:f23601373e8b
a tester ;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GaspardD | 8:f23601373e8b | 1 | #ifndef H_SM_MPU |
GaspardD | 8:f23601373e8b | 2 | #define H_SM_MPU |
GaspardD | 8:f23601373e8b | 3 | |
GaspardD | 8:f23601373e8b | 4 | #include "MPU6050.h" |
GaspardD | 8:f23601373e8b | 5 | #include "utils.h" |
GaspardD | 8:f23601373e8b | 6 | |
GaspardD | 8:f23601373e8b | 7 | |
GaspardD | 8:f23601373e8b | 8 | typedef enum{ |
GaspardD | 8:f23601373e8b | 9 | INIT_MPU, |
GaspardD | 8:f23601373e8b | 10 | RUNNING_MPU, |
GaspardD | 8:f23601373e8b | 11 | ERROR_MPU |
GaspardD | 8:f23601373e8b | 12 | }E_STATE_MPU; |
GaspardD | 8:f23601373e8b | 13 | |
GaspardD | 8:f23601373e8b | 14 | void init_sm_mpu(); |
GaspardD | 8:f23601373e8b | 15 | void update_sm_mpu(); |
GaspardD | 8:f23601373e8b | 16 | void output_sm_mpu(); |
GaspardD | 8:f23601373e8b | 17 | |
GaspardD | 8:f23601373e8b | 18 | #endif |