ft. button press reset

Dependencies:   mbed

Fork of BeaconDemo_RobotCode by Science Memeseum

Revision:
2:a6214fd156ff
Parent:
0:8a5497a2e366
Child:
3:cd048f6e544e
diff -r f6356cf1cefc -r a6214fd156ff PsiSwarm/sensors.cpp
--- a/PsiSwarm/sensors.cpp	Sat Oct 03 23:09:10 2015 +0000
+++ b/PsiSwarm/sensors.cpp	Mon Oct 05 14:42:16 2015 +0000
@@ -283,6 +283,14 @@
     IF_set_IR_emitter_output(2, 0);
 }
     
+// Routine to store detected line position in a similar format to the used on 3Pi\m3Pi\PiSwarm
+void store_line_position ( void ){
+    // Store background and reflected base IR values
+    store_base_ir_values();
+    
+}
+
+
 void calibrate_base_ir_sensors (void) {
     short white_background[5];
     short white_active[5];