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
main.h
- Committer:
- sgetz7908
- Date:
- 2017-05-30
- Revision:
- 9:0b017e956142
- Parent:
- 8:5bb94184842d
- Child:
- 10:b3553e75eee0
File content as of revision 9:0b017e956142:
#ifndef MAIN_H #define MAIN_H #define FW_VERSION 001 // major revisions will be 1xx, 2xx, etc. #define TEST 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 DARK_SAMPLE_PERIOD 15 // During manufacturing, this determines how many seconds between light_sensor samples #define MIN_DARK_TIME_MIN 15 // Number of seconds 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 #define CAP_THRESHOLD 50 //****************************************************************************** #endif // #ifndef MAIN_H