reading from 6 sensors and packaging the data

Dependents:   LSM303D_SPI

vector.h

Committer:
DrCoyle
Date:
2014-08-26
Revision:
0:f186dd92c836

File content as of revision 0:f186dd92c836:

#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