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: main.h
- Revision:
- 12:55495eedbd8e
- Parent:
- 11:c65905cb9f56
- Child:
- 14:2f85a359d3f7
--- a/main.h Wed May 31 14:36:41 2017 +0000 +++ b/main.h Wed May 31 19:01:51 2017 +0000 @@ -5,11 +5,12 @@ #define FW_VERSION 001 // 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 1 // if =1, put out debug info on the BLE_UART +#define ENABLE_LED 1 // if =1, enable the debug LED #define DARK_SAMPLE_PERIOD 15 // During manufacturing, this determines how many seconds between light_sensor samples -#define MIN_DARK_TIME_MIN .5 // Number of seconds the unit needs to be in the dark to go into SHIP_MODE +#define MIN_DARK_TIME_MIN 15 // Number of minutes the unit needs to be in the dark to go into SHIP_MODE #define CHECK_CAP_PERIOD_SEC 3 // check for cap every this many seconds