reading from 6 sensors and packaging the data

Dependents:   LSM303D_SPI

Committer:
hassan_elahi
Date:
Mon Mar 23 19:18:57 2015 +0000
Revision:
2:171076b97de0
Parent:
0:f186dd92c836
asfdsd

Who changed what in which revision?

UserRevisionLine numberNew contents of line
DrCoyle 0:f186dd92c836 1 #ifndef vector_h
DrCoyle 0:f186dd92c836 2 #define vector_h
DrCoyle 0:f186dd92c836 3 typedef struct vector
DrCoyle 0:f186dd92c836 4 {
DrCoyle 0:f186dd92c836 5 float x, y, z;
DrCoyle 0:f186dd92c836 6 } vector;
DrCoyle 0:f186dd92c836 7
DrCoyle 0:f186dd92c836 8 extern void vector_cross(const vector *a, const vector *b, vector *out);
DrCoyle 0:f186dd92c836 9 extern float vector_dot(const vector *a,const vector *b);
DrCoyle 0:f186dd92c836 10 extern void vector_normalize(vector *a);
DrCoyle 0:f186dd92c836 11 #endif
DrCoyle 0:f186dd92c836 12