reading from 6 sensors and packaging the data

Dependents:   LSM303D_SPI

vector.h

Committer:
hassan_elahi
Date:
2015-03-23
Revision:
2:171076b97de0
Parent:
0:f186dd92c836

File content as of revision 2:171076b97de0:

#ifndef vector_h
#define vector_h
typedef struct vector
{
  float x, y, z;
} vector;
 
extern void vector_cross(const vector *a, const vector *b, vector *out);
extern float vector_dot(const vector *a,const vector *b);
extern void vector_normalize(vector *a);
#endif