Framework of classes and program to measure tilt angles using accelerometers
Fork of tilt_angles by
ENGO333_MMA7660 Class Reference
Class A class to handle MMA7660 3-DOF accelerometer. More...
#include <ENGO333_MMA7660.h>
Public Member Functions | |
| ENGO333_MMA7660 () | |
| Default Constructor Once called, trigger active mode and set MMA7660_AMSR8. | |
| virtual bool | TestConnection () |
| Function : Test device's accelerometer connection. | |
Detailed Description
Class A class to handle MMA7660 3-DOF accelerometer.
Definition at line 54 of file ENGO333_MMA7660.h.
Constructor & Destructor Documentation
| ENGO333_MMA7660 | ( | ) |
Default Constructor Once called, trigger active mode and set MMA7660_AMSR8.
Definition at line 5 of file ENGO333_MMA7660.cpp.
Member Function Documentation
| bool TestConnection | ( | ) | [virtual] |
Function : Test device's accelerometer connection.
MMA7660 does not have identifier registers. Thus, this function will simply take measurements and check their validity.
Argument : NONE
Return : Return TRUE if connection is good, otherwise FALSSE
Definition at line 12 of file ENGO333_MMA7660.cpp.
Generated on Sat Jul 16 2022 15:16:04 by
1.7.2
