![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This is some awesome robot code
Dependencies: mbed-rtos mbed QEI
Fork of ICRSEurobot13 by
Diff: globals.h
- Revision:
- 44:555136de33e4
- Parent:
- 33:a49197572737
- Parent:
- 43:c592bf6a6a2d
- Child:
- 50:937e860f4621
diff -r 6504d85d85b4 -r 555136de33e4 globals.h --- 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;