Library for MMA7660FC Accelerometer device
Dependents: TestCode_MMA7660FC 3D_Accelerometer_Tester RTOS-aap-board-modules embed_Grove_3-Axis_Digital_Accelerometer ... more
Revision 9:2cc4a317402d, committed 2013-08-07
- Comitter:
- edodm85
- Date:
- Wed Aug 07 20:06:38 2013 +0000
- Parent:
- 8:122af194c74b
- Commit message:
- Disabled the interrupt
Changed in this revision
MMA7660FC.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/MMA7660FC.cpp Wed Aug 07 19:50:09 2013 +0000 +++ b/MMA7660FC.cpp Wed Aug 07 20:06:38 2013 +0000 @@ -42,7 +42,7 @@ // Device initialization void MMA7660FC::init() { - write_reg(INTSU_STATUS, 0x10); // automatic interrupt after every measurement + write_reg(INTSU_STATUS, 0x00); // interrupt disable write_reg(SR_STATUS, 0x07); // 1 Samples/Second }