Edit
Dependencies: Lis2dh12 aconno_I2C aconno_nrf52_uart adc52832_common aconno_SEGGER_RTT
Diff: source/main.h
- Branch:
- NanoModule
- Revision:
- 13:7ae1c5bcccb5
- Parent:
- 12:d5d47f848af5
--- a/source/main.h Thu Mar 01 08:55:48 2018 +0000 +++ b/source/main.h Fri Mar 02 10:29:59 2018 +0000 @@ -16,10 +16,10 @@ #include "GapAdvertisingData.h" #define DEBUG (0) -#define PRINT_ON_RTT (1) -#define DEBUG_LED (1) +#define PRINT_ON_RTT (0) +#define DEBUG_LED (0) #define NANO_MODULE (1) -#define LSB_VALUE (16) +#define LSB_VALUE (192) #if NANO_MODULE #define I2C_DATA (p2) @@ -37,7 +37,7 @@ #define RED_LED_PIN (p22) #endif -#define BLE_ACTIVE_TIME_S (1) +#define BLE_ACTIVE_TIME_S (0.4) #define POWER_UP_DELAY_MS (200) #if PRINT_ON_RTT @@ -47,7 +47,7 @@ #define printf(...) #endif -#define INT1_THRESHOLD (125u) +#define INT1_THRESHOLD (20u) #define INT1_DUR (0x00) #define ACC_INT_SIG (0x00001020) // Acc interrupt signal