Lizzy project
Dependencies: aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT
Diff: source/main.h
- Branch:
- axis_normal
- Revision:
- 16:482d8f81d6f3
- Parent:
- 15:c0c01188a29b
- Child:
- 23:bf9c1dd2b5cb
diff -r c0c01188a29b -r 482d8f81d6f3 source/main.h --- a/source/main.h Wed Aug 29 14:48:43 2018 +0000 +++ b/source/main.h Wed Aug 29 17:08:08 2018 +0000 @@ -33,20 +33,12 @@ #define printf(...) #endif -#define INT1_THRESHOLD (20u) -#define INT1_DUR (0x00) +#define INT1_THRESHOLD (30) +#define INT1_DUR (12) #define ACC_INT_SIG (0x00001020) // Acc interrupt signal #define DISABLE_BLE_SIG (0x00001030) -#if DEBUG - NRF52_UART uart(p12, p14, Baud9600); - char buffer[255]; - #define SEND(...) {uint8_t len = sprintf(buffer, __VA_ARGS__); uartM.lock(); uart.send(buffer, len); uartM.unlock();} -#else - #define SEND(...) -#endif - extern Thread bleT; extern Thread measureT;