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:
- 50:8dca54c1e3fd
- Parent:
- 49:d2bd9056426e
- Child:
- 51:53fe9aff625a
- Child:
- 54:bc0199198178
diff -r d2bd9056426e -r 8dca54c1e3fd Source/main.h --- a/Source/main.h Thu Sep 03 17:17:59 2020 +0000 +++ b/Source/main.h Fri Sep 11 19:27:20 2020 +0000 @@ -2,7 +2,7 @@ #ifndef MAIN_H #define MAIN_H -#define FW_VERSION "V1.17" // major revisions will be 1xx, 2xx, etc. +#define FW_VERSION "V1.18" // 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 @@ -20,7 +20,7 @@ #define CAP_THRESHOLD_OFF 12 // Cap off threshold. Higher value means it triggers more easily #define CAP_THRESHOLD_OFF_EOL 25 // Cap off threshold for EOL to ensure bluetooth advertising - FTD 08212020 -#define CAP_THRESHOLD_OFF_INITIAL 15 // initial value of adaptive cap_off threshold (Must be higher than CAPTHRESHOLD_OFF) +#define CAP_THRESHOLD_ON_INITIAL 15 // initial value of adaptive cap_off threshold (Must be higher than CAPTHRESHOLD_OFF) #define CAP_THRESHOLD_ADAPT_RATE 192 // How fast the thresholf adapts. number 0 to 256. 256 means adapt immediately, 0 means no adapt. #define CAP_THRESHOLD_PERCENT_OF_PEAK 192 // What fraction of the peak on-off cap reading is used for the threshold. %*256, so 85% is .85*256=218