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:
- 32:749e1c060d03
- Parent:
- 31:f79f3ccd88b5
- Child:
- 33:787d30671783
diff -r f79f3ccd88b5 -r 749e1c060d03 Source/main.h --- a/Source/main.h Mon Jul 29 13:50:16 2019 +0000 +++ b/Source/main.h Tue Jul 30 19:57:19 2019 +0000 @@ -2,13 +2,11 @@ #ifndef MAIN_H #define MAIN_H -#define FW_VERSION "V1.04" // major revisions will be 1xx, 2xx, etc. - -#define MAX_USES 120 // Maximum cap on/off's +#define FW_VERSION "V1.05" // major revisions will be 1xx, 2xx, etc. #define SKIP_SHIP_MODE 1 // 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 0 // if =1, enable the debug LED +#define ENABLE_LED 1 // if =1, enable the debug LED #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 @@ -21,7 +19,7 @@ #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 5 //120 // 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);