A hello world for inertial sensors
Dependencies: FXAS21000 FXOS8700Q mbed
Fork of FRDM-STBC-AGM01 by
northStarFuncs.h
- Committer:
- Elecia
- Date:
- 2015-06-30
- Revision:
- 4:5ab2bb2f062b
- Parent:
- 3:123b546e4a5c
File content as of revision 4:5ab2bb2f062b:
// northStarFuncs.h // these functions control how the northStar code behaves #ifndef NORTH_STAR_FUNCS_H #define NORTH_STAR_FUNCS_H typedef enum {OFF=0, ACCEL=1, MAG=2, GYRO=3} eModes; uint8_t conditionAccels(float reading); uint8_t conditionMags(float heading, float offset, float range); uint8_t conditionGyros(float reading); eModes changeMode(eModes current); #endif /*NORTH_STAR_FUNCS_H*/