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:
- 27:bb7247a1704e
- Parent:
- 26:a577c4b69fe0
- Child:
- 28:e06f81d436a8
--- a/Source/main.h Mon Apr 15 18:46:57 2019 +0000 +++ b/Source/main.h Wed Apr 17 18:19:30 2019 +0000 @@ -2,9 +2,9 @@ #ifndef MAIN_H #define MAIN_H -#define FW_VERSION "V1.02" // major revisions will be 1xx, 2xx, etc. +#define FW_VERSION "V1.03" // major revisions will be 1xx, 2xx, etc. -#define MAX_USES 120 // Maximum cap on/off's +#define MAX_USES 5 //120 // Maximum cap on/off's #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 @@ -21,9 +21,10 @@ #define CAP_THRESHOLD 50 // ajusts the sensitivity of the cap sensor. Lower value means it triggers more easily #define EOL_TIMEOUT_DAYS 30 // 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. +#define EOL_MAX_USES 5 //120 // number of uses after which the unit goes into EOL mode. extern void process_cmd(char * cmd); +extern void dataWasRead(void); //******************************************************************************