Andriy Makukha
/
football_project_wo_output
football_project_wo_output
Fork of football_project by
Diff: configs.h
- Revision:
- 89:425369a595c4
- Parent:
- 87:a9870d513fcf
- Child:
- 90:b4d53a870147
--- a/configs.h Tue Jun 07 08:43:21 2016 +0000 +++ b/configs.h Sat Jun 11 06:50:32 2016 +0000 @@ -8,7 +8,6 @@ #define HARD_V2 // version 2 hardware for nRF51822 // Frequency select -//#define FREQUENCY RF69_433MHZ //#define FREQUENCY RF69_868MHZ #define FREQUENCY RF69_915MHZ @@ -20,7 +19,8 @@ #define TEXT_LCD // Text LCD display #define _I2C_DISP // I2C display (SPI assumed) #define ENABLE_SOUND // Turns on sound in the beep() function -#define ENABLE_PIN +#define ENABLE_PIN // is there a pin to enable radio via MOSFET? +#define BLE_ENABLE /////////////////////////////////// CONSTANTS /////////////////////////////////// @@ -33,7 +33,7 @@ #define MAX_RECORDS 6 #define NAME_LEN 5 #define SIGNALS_VALID_MS 4000 -#define MAX_HISTORY_MS 60000 // 1 minute +#define MAX_HISTORY_MS 30000 // 30 seconds #define NOTE_A3 0.004545454 #define NOTE_A4 0.002272727 @@ -78,9 +78,12 @@ #define PRESSED 0 #define RELEASED 1 +#ifdef BLE_ENABLE +#undef BLE_ENABLE +#endif + #endif // NORDIC - /////////////////////// PINS /////////////////////// #ifdef NORDIC