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:
- 39:93d6d459c76c
- Parent:
- 38:4b06a103c044
- Child:
- 40:adabdb1c5abe
--- a/Source/main.h Wed Dec 18 18:09:10 2019 +0000 +++ b/Source/main.h Thu Dec 19 19:17:51 2019 +0000 @@ -4,7 +4,7 @@ #define FW_VERSION "V1.10" // major revisions will be 1xx, 2xx, etc. -#define SKIP_SHIP_MODE 0 // 0=normal, 1=Test mode, where SHIP_MODE is skipped +#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 TEST_ON_NRF51_DK 0 // if =1, configure for running on nRF51-DK board @@ -21,7 +21,7 @@ #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. -#define LIGHT_SENSE_PWRON_DELAY 0.050 // delay (seconds) between turning on light sense circuit, and taking an ADC reading. +#define LIGHT_SENSE_PWRON_DELAY 0.200 // delay (seconds) between turning on light sense circuit, and taking an ADC reading. extern void process_cmd(char * cmd);