Elisa3
|
Go to the source code of this file.
Functions | |
void | initAccelerometer () |
Test which device is mounted on the robot and configure it. | |
unsigned char | initADXL345 () |
Configure the ADXL345 accelerometer (2g sensitivity, 10 bits resolution). | |
unsigned char | initMMA7455L () |
Configure the MMA74565L accelerometer (2g sensitivity, 10 bits resolution). | |
void | readAccelXY () |
void | readAccelXYZ () |
void | computeAngle () |
void computeAngle | ( | ) |
void initAccelerometer | ( | ) |
Test which device is mounted on the robot and configure it.
unsigned char initADXL345 | ( | ) |
Configure the ADXL345 accelerometer (2g sensitivity, 10 bits resolution).
unsigned char initMMA7455L | ( | ) |
Configure the MMA74565L accelerometer (2g sensitivity, 10 bits resolution).
void readAccelXY | ( | ) |
void readAccelXYZ | ( | ) |