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.
Fork of PsiSwarmV9 by
Diff: settings.h
- Revision:
- 17:bf614e28668f
- Parent:
- 16:50686c07ad07
- Child:
- 18:9204f74069b4
--- a/settings.h Thu Jun 01 23:02:32 2017 +0000 +++ b/settings.h Sun Jun 04 13:11:09 2017 +0000 @@ -101,5 +101,16 @@ /* SAMPLE_SIZE [recommended = 10]: Number of samples to take for the quick self-test in the demo mode*/ #define SAMPLE_SIZE 10 + +/* BASE_COLOUR_SENSOR_INTEGRATION_TIME [recommended = 3]: Integration time in mS, shortest is ~2.4mS [3]; see TCS34725 datasheet */ +#define BASE_COLOUR_SENSOR_INTEGRATION_TIME 3 + +/* BASE_COLOUR_SENSOR_GAIN [recommended = 4]: Gain for colour sensor, can be 1,4,16 or 60 */ +#define BASE_COLOUR_SENSOR_GAIN 4 + +/* AUTO_UPDATE_FIRMWARE [1=on,0=off]: If an old version of firmware is detected, auto-update to the current version (preserving settings) */ +#define AUTO_UPDATE_FIRMWARE 1 + + #endif