Extended driver to be able to configure the accelerometer for tap detection, orientation detection, and data ready interrupts.
Dependents: FRDM-KL25Z_secret_knock bluetooth_robo01 robo_01
Fork of MMA8451Q by
Revision 7:e71c4d6398ea, committed 2013-02-27
- Comitter:
- maclobdell
- Date:
- Wed Feb 27 04:13:31 2013 +0000
- Parent:
- 6:2b68086a26ff
- Child:
- 8:018aea85c0db
- Commit message:
- update to license notes
Changed in this revision
MMA8451Q.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/MMA8451Q.cpp Wed Feb 27 04:04:45 2013 +0000 +++ b/MMA8451Q.cpp Wed Feb 27 04:13:31 2013 +0000 @@ -16,6 +16,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/* Several bits and pieces taken from MMA8452Q basic example code by Nathan Seidle at SparkFun under Beerware license */ +/* If you see him, buy him a beer */ + #include "MMA8451Q.h" #define REG_WHO_AM_I 0x0D