Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: nRF51822
Diff: Source/main.h
- Revision:
- 37:0cb0a0b22b99
- Parent:
- 36:f76a7b956f52
- Child:
- 38:4b06a103c044
diff -r f76a7b956f52 -r 0cb0a0b22b99 Source/main.h --- a/Source/main.h Tue Oct 01 16:27:28 2019 +0000 +++ b/Source/main.h Fri Dec 13 18:43:55 2019 +0000 @@ -2,7 +2,7 @@ #ifndef MAIN_H #define MAIN_H -#define FW_VERSION "V1.08" // major revisions will be 1xx, 2xx, etc. +#define FW_VERSION "V1.09" // major revisions will be 1xx, 2xx, etc. #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 @@ -12,14 +12,14 @@ //#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 // update rtc and run check cap rate +#define PERIODIC_TICK_SEC 1 // 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 EOL_TICK_SEC 10 // update rtc and run check cap rate while in EOL mode -#define CAP_THRESHOLD 50 // ajusts the sensitivity of the cap sensor. Lower value means it triggers more easily +#define CAP_THRESHOLD 100 // ajusts the sensitivity of the cap sensor. Lower value means it triggers more easily #define EOL_TIMEOUT_DAYS 31 // number of days after package is open before unit goes into EOL mode. -#define EOL_MAX_USES 60 // number of uses after which the unit goes into EOL mode. +#define EOL_MAX_USES 120 // number of uses after which the unit goes into EOL mode. extern void process_cmd(char * cmd); extern void dataWasRead(void);