Edit

Dependencies:   Lis2dh12 aconno_I2C aconno_nrf52_uart adc52832_common aconno_SEGGER_RTT

Branch:
NanoModule
Revision:
9:a9c5db477f35
Parent:
8:4b1ac4733b3d
Child:
10:83dab6cc625d
--- a/source/main.cpp	Tue Feb 27 14:57:50 2018 +0000
+++ b/source/main.cpp	Wed Feb 28 07:25:59 2018 +0000
@@ -95,8 +95,8 @@
     mems.int1Setup(0x40);       // IntActivity 1 driven to INT1 pad
     
     mems.int1Latch(0x01);       // Enable int1 latch
-    mems.int1Threshold(0x10);
-    mems.int1Duration(0x00);
+    mems.int1Threshold(INT1_THRESHOLD); 
+    mems.int1Duration(INT1_DURATION);            
     mems.int1Config(0x20);      // Enable XHigh and YHigh
     
     bleT.start(callback(bleF, &ble));   // Start bleT