ft. button press reset

Dependencies:   mbed

Fork of BeaconDemo_RobotCode by Science Memeseum

Revision:
0:8a5497a2e366
Child:
5:598298aa4900
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PsiSwarm/settings.h	Sat Oct 03 22:48:50 2015 +0000
@@ -0,0 +1,51 @@
+/* University of York Robotics Laboratory PsiSwarm Library: PsiSwarm Settings File
+ * 
+ * File: settings.h
+ *
+ * (C) Dr James Hilder, Dept. Electronics & Computer Science, University of York
+ * 
+ * PsiSwarm Library Version: 0.2
+ *
+ * September 2015
+ *
+ */ 
+
+
+/* OFFSET_MOTORS [1=on, recommended      0=off]
+ * The motors typically stall when the PWM output is below around 0.2
+ * Enabling the offset shifts the actual PWM range so that the motor speed 0.0 -> 1.0 actually sets a PWM output of 0.2 -> 1.0
+ */
+#define OFFSET_MOTORS 1 
+
+/* ENABLE_DEMO [1=on, 0=off]
+ * If enabled the demo mode will be launched when the center button is held as the MBED is switched on or reset
+ */
+#define ENABLE_DEMO 1
+
+
+/* SERIAL INTERFACES SETTINGS 
+ * __________________________
+ *
+ * The Psi-Swarm can communicate using both the USB PC-Serial interface or via Bluetooth using a BlueSMIRF module
+ *
+ *
+ */
+
+/* ENABLE_BLUETOOTH [1=on, 0=off]:  Enable if the BlueSmirf module is being used */
+#define ENABLE_BLUETOOTH 1
+
+/* ENABLE_PC_SERIAL [1=on, 0=off]:  Enable if the PC USB serial module is being used */
+#define ENABLE_PC_SERIAL 1
+
+/* BLUETOOTH_BAUD [recommended=115200]:  Baud rate for the BlueSMIRF module */
+#define BLUETOOTH_BAUD 115200
+
+/* PC_BAUD [recommended=460800 for optimal performance, 115200 for compatability]:  Baud rate for the PC USB serial module */
+//#define PC_BAUD 460800
+#define PC_BAUD 115200
+
+/* DEBUG_MODE [1=on, 0=off]:  Enable to allow debug messages to be sent of one of the serial interfaces */
+#define DEBUG_MODE 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