KLUJA-SSD446-Midterm
Dependencies: MMA8451Q8b SLCD mbed
Fork of KL46z_single_tap_2017_blank by
Revision 13:49f888ad923f, committed 2017-03-13
- Comitter:
- kennylujan42
- Date:
- Mon Mar 13 16:21:29 2017 +0000
- Parent:
- 12:10e6d0d12833
- Commit message:
- KLUJA-SSD447-Midterm
Changed in this revision
KL46z_single_tap_2017.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 10e6d0d12833 -r 49f888ad923f KL46z_single_tap_2017.cpp --- a/KL46z_single_tap_2017.cpp Thu Mar 09 02:37:39 2017 +0000 +++ b/KL46z_single_tap_2017.cpp Mon Mar 13 16:21:29 2017 +0000 @@ -29,14 +29,14 @@ You need to fill nn the missing numbers below for this to work 0x00 is just a place holder *************************************/ -#define LATCH_DATA 0x00 // for use in REG_PULSE_CFG -#define AXIS_DATA 0x00 -#define SET_INTERRUPT 0x00 //using interrupt INT1 PTC5 -#define SET_INT_LINE 0x00 +#define LATCH_DATA 0x31 // for use in REG_PULSE_CFG +#define AXIS_DATA 0x2E +#define SET_INTERRUPT 0x2A //using interrupt INT1 PTC5 +#define SET_INT_LINE 0x2E -#define SET_THZ 0x00 // See Table 49 in data sheet +#define SET_THZ 0x17 // See Table 49 in data sheet -#define SET_TMLT 0x00 // See Table 51 in data sheet +#define SET_TMLT 0x26 // See Table 51 in data sheet /*********************************************************/ //#define PRINTDBUG