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@21:af2f8b0e3e75, 2019-02-21 (annotated)
- Committer:
- sgetz7908
- Date:
- Thu Feb 21 20:31:45 2019 +0000
- Revision:
- 21:af2f8b0e3e75
- Parent:
- 20:a110023f39d1
- Child:
- 22:a3add5a1fef3
Committing for due to unknown state of old stuff.;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sgetz7908 | 0:cec02cf6df66 | 1 | |
sgetz7908 | 0:cec02cf6df66 | 2 | #ifndef MAIN_H |
sgetz7908 | 0:cec02cf6df66 | 3 | #define MAIN_H |
sgetz7908 | 0:cec02cf6df66 | 4 | |
sgetz7908 | 0:cec02cf6df66 | 5 | |
sgetz7908 | 2:def2c045c43a | 6 | #define FW_VERSION 001 // major revisions will be 1xx, 2xx, etc. |
sgetz7908 | 0:cec02cf6df66 | 7 | |
sgetz7908 | 12:55495eedbd8e | 8 | #define SKIP_SHIP_MODE 1 // 0=normal, 1=Test mode, where SHIP_MODE is skipped |
sgetz7908 | 14:2f85a359d3f7 | 9 | #define UART_DEBUGGING 0 // if =1, put out debug info on the BLE_UART |
sgetz7908 | 21:af2f8b0e3e75 | 10 | #define ENABLE_LED 1 // if =1, enable the debug LED |
sgetz7908 | 9:0b017e956142 | 11 | |
sgetz7908 | 9:0b017e956142 | 12 | #define DARK_SAMPLE_PERIOD 15 // During manufacturing, this determines how many seconds between light_sensor samples |
sgetz7908 | 12:55495eedbd8e | 13 | #define MIN_DARK_TIME_MIN 15 // Number of minutes the unit needs to be in the dark to go into SHIP_MODE |
sgetz7908 | 9:0b017e956142 | 14 | |
sgetz7908 | 11:c65905cb9f56 | 15 | #define CHECK_CAP_PERIOD_SEC 3 // check for cap every this many seconds |
sgetz7908 | 9:0b017e956142 | 16 | |
sgetz7908 | 8:5bb94184842d | 17 | #define CAP_THRESHOLD 50 |
sgetz7908 | 2:def2c045c43a | 18 | |
sgetz7908 | 2:def2c045c43a | 19 | //****************************************************************************** |
sgetz7908 | 0:cec02cf6df66 | 20 | |
sgetz7908 | 0:cec02cf6df66 | 21 | #endif // #ifndef MAIN_H |