![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ft. button press reset
Fork of BeaconDemo_RobotCode by
Diff: PsiSwarm/settings.h
- Revision:
- 6:ff3c66f7372b
- Parent:
- 5:598298aa4900
- Child:
- 7:ef9ab01b9e26
--- a/PsiSwarm/settings.h Tue Oct 13 11:47:14 2015 +0000 +++ b/PsiSwarm/settings.h Thu Oct 22 00:46:14 2015 +0000 @@ -2,11 +2,12 @@ * * File: settings.h * - * (C) Dr James Hilder, Dept. Electronics & Computer Science, University of York + * (C) Dept. Electronics & Computer Science, University of York + * James Hilder, Alan Millard, Homero Elizondo, Jon Timmis * - * PsiSwarm Library Version: 0.2 + * PsiSwarm Library Version: 0.3 * - * September 2015 + * October 2015 * */ @@ -56,5 +57,11 @@ /* USE_LED4_FOR_VR_WARNINGS [1=on, 0=off]: Voltage-regulator warnings will appear as the lighting of LED4 on MBED */ #define USE_LED4_FOR_VR_WARNINGS 1 +/* HALT_ON_GPIO_ERROR [1=on, 0=off]: Halts system if no GPIO response received during init() - typically this happens when MBED is powered but robot is switched off */ +#define HALT_ON_GPIO_ERROR 1 + +/* HALT_ON_ALL_VREGS_LOW [1=on, 0=off]: Halts system when all 3.3V voltage regulators are low on boot-up - typically this happens when MBED is powered but robot is switched off */ +#define HALT_ON_ALL_VREGS_LOW 1 + /* DEBUG_OUTPUT_STREAM [1=PC\USB 2=BlueSmirf 4=Display]: Specify which output stream(s) should be used by default for debug messages, if enabled*/ #define DEBUG_OUTPUT_STREAM 1