Elisa3
accelerometer - Copia.h
Go to the documentation of this file.
00001 
00014 #include <stdlib.h>
00015 #include <math.h>
00016 #include "variables.h"
00017 #include "twimaster.h"
00018 
00019 #ifndef ACCELEROMETER_H
00020 #define ACCELEROMETER_H
00021 
00027 void initAccelerometer();
00028 
00034 unsigned char initADXL345();
00035 
00041 unsigned char initMMA7455L();
00042 
00043 
00044 void readAccelXY();
00045 void readAccelXYZ();
00046 void computeAngle();
00047 
00048 #endif
 All Data Structures Files Functions Variables Typedefs Defines