Elisa3
accelerometer.h
Go to the documentation of this file.
00001 
00002 #ifndef ACCELEROMETER_H
00003 #define ACCELEROMETER_H
00004 
00018 #include <stdlib.h>
00019 #include <math.h>
00020 #include "variables.h"
00021 #include "twimaster.h"
00022 
00023 
00028 void initAccelerometer();
00029 
00035 unsigned char initADXL345();
00036 
00042 unsigned char initMMA7455L();
00043 
00049 void readAccelXY();
00050 
00056 void readAccelXYZ();
00057 
00067 void computeAngle();
00068 
00069 #endif
 All Data Structures Files Functions Variables Typedefs Defines