YRL Maze lab made more script-y

Dependencies:   PsiSwarmLab-ScriptingBased mbed

Fork of UKESF_Lab by UKESF Headstart Summer School

Revision:
11:7b3ee540ba56
Parent:
10:1b09d4bb847b
Child:
12:daa53285b6e4
--- a/main.cpp	Mon Oct 26 23:58:08 2015 +0000
+++ b/main.cpp	Tue Oct 27 00:13:49 2015 +0000
@@ -46,6 +46,10 @@
 char prog_info [17];                     // Stores information about the current state of the program [line 1 on the display]
 char disable_ir_emitters = 0;            // Used to disable IR emission during charging etc [use with caution!]
 char recharging_state = 0;               // Stores the state of the recharging program (0 is not currently running)
+
+float battery_low_threshold = 3.63;      // Threshold at which to interrupt program and start recharging routine: suggest 3.55
+float battery_high_threshold = 3.97;     // Threshold at which to end battery recharging routine and resume normal program: suggest 4.0
+
 Ticker main_loop_ticker;
 
 ///This is the main loop for the Beautiful Meme code.  The code block is run once every 250mS* [with 4Hz beacon] once all the IR samples have been collected.