Project 1 V1 Submission
Fork of MMA8451Q8_v1 by
Revision 11:f249e23a8514, committed 2015-02-16
- Comitter:
- bomalley
- Date:
- Mon Feb 16 03:39:16 2015 +0000
- Parent:
- 10:a3c651c98243
- Commit message:
- Project 1 v2
Changed in this revision
MMA8451Q8.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r a3c651c98243 -r f249e23a8514 MMA8451Q8.cpp --- a/MMA8451Q8.cpp Mon Feb 16 03:22:28 2015 +0000 +++ b/MMA8451Q8.cpp Mon Feb 16 03:39:16 2015 +0000 @@ -34,9 +34,9 @@ #define REG_PULSE_TMLT 0x26 #define REG_PULSE_LTCY 0x27 -/*#define REG_DATA_THSZ 0x25 -#define REG_DATA_TMLT 0x26 -#define REG_DATA_LTCY 0x27*/ +#define REG_DATA_THSZ 0x08 +#define REG_DATA_TMLT 0x50 // Set the time limit for the Tap Detection to 50ms, Normal Mode +#define REG_DATA_LTCY 0xF0 // Set the latency time to 300ms #define UINT14_MAX 16383