DE_4_1_PROJECT1B
Dependencies: MMA8451Q8 SLCD mbed
Fork of KL46z_single_tap_empty by
Revision 4:cd91d04eadfc, committed 2015-02-04
- Comitter:
- destradafilm
- Date:
- Wed Feb 04 07:02:44 2015 +0000
- Parent:
- 3:53d47a5dbb2c
- Commit message:
- Ambient Class project
Changed in this revision
MMA8451Q8.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 53d47a5dbb2c -r cd91d04eadfc MMA8451Q8.lib --- a/MMA8451Q8.lib Tue Feb 03 18:05:52 2015 +0000 +++ b/MMA8451Q8.lib Wed Feb 04 07:02:44 2015 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/users/scohennm/code/MMA8451Q8b/#993bb9e96a4b +http://developer.mbed.org/users/destradafilm/code/MMA8451Q8/#a9cba88ad7f6
diff -r 53d47a5dbb2c -r cd91d04eadfc main.cpp --- a/main.cpp Tue Feb 03 18:05:52 2015 +0000 +++ b/main.cpp Wed Feb 04 07:02:44 2015 +0000 @@ -18,6 +18,14 @@ #define REG_PULSE_SRC 0x22 #define REG_PULSE_CFG 0x21 +#define PULSE_THSX 0x23 +#define PULSE_THSY 0x24 +#define PULSE_THSZ 0x25 + +#define PULSE_TMLT 0x26 + +#define PULSE_LTCY 0x27 + #define MAX_2G 0x00 #define MAX_4G 0x01 #define MAX_8G 0x02