[Acceleration] MMA7660 3-Axis Accelerometer Library
This is a library to interface with the MMA7660 (FC) 3 axis accelerometer module. It’s a very easy and small library, that returns the X Y and Z coordinates transformed into full degrees. It is written in cpp and you can use this with your arduino module. Below provided is example code and library provided for your ease. You only need 1 line of code to request the accelerometer data.
Include this in your Arduino/Libraries folder.
This code is also included in the zipfile in the above.
delay(100); There will be new values every 100ms
Serial.print( y );
Serial.print( z );