A hello world for inertial sensors

Dependencies:   FXAS21000 FXOS8700Q mbed

Fork of FRDM-STBC-AGM01 by angus taggart

Committer:
Elecia
Date:
Tue Jun 30 16:23:32 2015 +0000
Revision:
4:5ab2bb2f062b
Parent:
3:123b546e4a5c
Added element14 link

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Elecia 3:123b546e4a5c 1 // northStarFuncs.h
Elecia 3:123b546e4a5c 2 // these functions control how the northStar code behaves
Elecia 3:123b546e4a5c 3
Elecia 3:123b546e4a5c 4 #ifndef NORTH_STAR_FUNCS_H
Elecia 3:123b546e4a5c 5 #define NORTH_STAR_FUNCS_H
Elecia 3:123b546e4a5c 6
Elecia 3:123b546e4a5c 7 typedef enum {OFF=0, ACCEL=1, MAG=2, GYRO=3} eModes;
Elecia 3:123b546e4a5c 8
Elecia 3:123b546e4a5c 9 uint8_t conditionAccels(float reading);
Elecia 3:123b546e4a5c 10 uint8_t conditionMags(float heading, float offset, float range);
Elecia 3:123b546e4a5c 11 uint8_t conditionGyros(float reading);
Elecia 3:123b546e4a5c 12 eModes changeMode(eModes current);
Elecia 3:123b546e4a5c 13
Elecia 3:123b546e4a5c 14 #endif /*NORTH_STAR_FUNCS_H*/