Colour sensors calibrated

Dependencies:   mbed-rtos mbed Servo QEI

Fork of ICRSEurobot13 by Thomas Branch

Revision:
44:555136de33e4
Parent:
34:a49197572737
Parent:
21:c592bf6a6a2d
--- a/globals.h	Thu Apr 11 19:49:46 2013 +0000
+++ b/globals.h	Fri Apr 12 16:46:42 2013 +0000
@@ -62,7 +62,8 @@
 const PinName P_DISTANCE_SENSOR = p15;
 const PinName P_FWD_DISTANCE_SENSOR = p16;
 
-const PinName P_COLOR_SENSOR_IN = p20;
+const PinName P_COLOR_SENSOR_IN_UPPER = p20;
+const PinName P_COLOR_SENSOR_IN_LOWER = p19;
 
 const PinName P_MOT_LEFT_A     = p21;
 const PinName P_MOT_LEFT_B     = p22;
@@ -74,8 +75,10 @@
 const PinName P_ENC_LEFT_A      = p27;
 const PinName P_ENC_LEFT_B      = p28;
 
-const PinName P_COLOR_SENSOR_RED = p29;
-const PinName P_COLOR_SENSOR_BLUE = p30;
+const PinName P_COLOR_SENSOR_RED_UPPER = p29;
+const PinName P_COLOR_SENSOR_BLUE_UPPER = p30;
+const PinName P_COLOR_SENSOR_RED_LOWER = p11;
+const PinName P_COLOR_SENSOR_BLUE_LOWER = p10;