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:
- 42:213f9b0cabe4
- Parent:
- 41:80f618bb53a4
- Child:
- 43:7a9cfb57f9e8
--- a/Source/main.h Thu Mar 19 19:10:42 2020 +0000 +++ b/Source/main.h Fri Mar 20 17:25:47 2020 +0000 @@ -2,7 +2,7 @@ #ifndef MAIN_H #define MAIN_H -#define FW_VERSION "V1.12" // major revisions will be 1xx, 2xx, etc. +#define FW_VERSION "V1.13" // 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 @@ -16,7 +16,8 @@ #define FAST_TICK_SEC 1 // 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 150 // ajusts the sensitivity of the cap sensor. Lower value means it triggers more easily +#define CAP_THRESHOLD 150 // ajusts the sensitivity of the cap sensor. Lower value means it triggers more easily +#define CAP_MAX_OFF_READING 250 // if the off reading exceeds this limit, then reading is invalid and we use last valid reading #define EOL_TIMEOUT_DAYS 31 // number of days after package is open before unit goes into EOL mode. #define EOL_MAX_USES 120 // number of uses after which the unit goes into EOL mode.