![](/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:
- 43:c592bf6a6a2d
- Parent:
- 20:70d651156779
- Child:
- 44:555136de33e4
diff -r 70d651156779 -r c592bf6a6a2d globals.h --- a/globals.h Tue Apr 09 15:33:36 2013 +0000 +++ b/globals.h Fri Apr 12 16:24:25 2013 +0000 @@ -58,7 +58,8 @@ const PinName P_SERIAL_RX = p14; const PinName P_DISTANCE_SENSOR = p15; -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_RIGHT_A = p21; const PinName P_MOT_RIGHT_B = p22; @@ -70,8 +71,10 @@ const PinName P_ENC_LEFT_A = p25; const PinName P_ENC_LEFT_B = p26; -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;