Elisa3
accelerometer2.h
Go to the documentation of this file.
00001 
00002 #ifndef ACCELEROMETER_H
00003 #define ACCELEROMETER_H
00004 
00005 
00071 #include <stdlib.h>
00072 #include <math.h>
00073 #include "variables.h"
00074 #include "twimaster.h"
00075 
00081 void initAccelerometer();
00082 
00088 unsigned char initADXL345();
00089 
00095 unsigned char initMMA7455L();
00096 
00097 
00098 void readAccelXY();
00099 void readAccelXYZ();
00100 void computeAngle();
00101 
00102 #endif
 All Data Structures Files Functions Variables Typedefs Defines