3-Axis Digital Accelerometer is the key part in projects like orientation detection, gesture detection and Motion detection. This 3-Asix Digital Accelerometer(±1.5g) is based on Freescale's low power consumption module, MMA7660FC. It features up to 10,000g high shock surviability and configurable Samples per Second rate. For generous applications that don't require too large measurement range, this is a great choice because it's durable, energy saving and cost-efficient.
Dependencies: Grove_3-Axis_Digital_Accelerometer_MMA7660FC_Library mbed
Fork of Seeed_Grove_3-Axis_Digital_Accelorometer_Example by
Revision 1:94e29063fb0d, committed 2014-09-06
- Comitter:
- mbedAustin
- Date:
- Sat Sep 06 00:47:38 2014 +0000
- Parent:
- 0:6f0e33b2eb6e
- Commit message:
- Removed comment block
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 6f0e33b2eb6e -r 94e29063fb0d main.cpp --- a/main.cpp Fri Sep 05 23:17:37 2014 +0000 +++ b/main.cpp Sat Sep 06 00:47:38 2014 +0000 @@ -1,27 +1,3 @@ -/*****************************************************************************/ -// Function: Get the accelemeter of the x/y/z axis. -// Hardware: Grove - 3-Axis Digital Accelerometer(±1.5g) -// Arduino IDE: Arduino-1.0 -// Author: Frankie.Chu -// Date: Jan 10,2013 -// Version: v0.9b -// by www.seeedstudio.com -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -// -/*******************************************************************************/ #include <mbed.h> #include "MMA7660.h"