Merck / Mbed OS SmartCap_OS5

Dependencies:   nRF51822

Revision:
24:761c30334cf4
Parent:
23:7ca590427f0e
Child:
25:42163d650266
--- a/Source/main.h	Tue Mar 19 19:25:39 2019 +0000
+++ b/Source/main.h	Thu Mar 21 19:28:22 2019 +0000
@@ -6,15 +6,16 @@
 
 #define MAX_USES    120  // Maximum cap on/off's
 
-#define SKIP_SHIP_MODE      1  // 0=normal, 1=Test mode, where SHIP_MODE is skipped
+#define SKIP_SHIP_MODE      0  // 0=normal, 1=Test mode, where SHIP_MODE is skipped
 #define UART_DEBUGGING      0  // if =1, put out debug info on the BLE_UART
 #define ENABLE_LED          1  // if =1, enable the debug LED
-#define TEST_ON_NRF51_DK    1  // if =1, configure for running on nRF51-DK board
+#define TEST_ON_NRF51_DK    0  // if =1, configure for running on nRF51-DK board
 
 //#define DARK_SAMPLE_PERIOD  15  // During manufacturing, this determines how many seconds between light_sensor samples
 //#define MIN_DARK_TIME_MIN   15  // Number of minutes the unit needs to be in the dark to go into SHIP_MODE
 
-#define PERIODIC_TICK_SEC 3.0    // update rtc and possibly run check cap
+#define PERIODIC_TICK_SEC 3    // update rtc and run check cap rate
+#define FAST_TICK_SEC     3    // update rtc and run check cap rate while in init and test mode
 
 #define CAP_THRESHOLD 50    // ajusts the sensitivity of the cap sensor.  Lower value means it triggers more easily