![](/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:
- 58:ff2121f34e3b
- Parent:
- 50:937e860f4621
- Child:
- 61:a7782a35ce4f
diff -r d434ceab6892 -r ff2121f34e3b globals.h --- a/globals.h Sat Apr 13 21:29:35 2013 +0000 +++ b/globals.h Sat Apr 13 22:20:05 2013 +0000 @@ -55,8 +55,8 @@ */ -const PinName P_SERVO_LOWER_ARM = p5; -const PinName P_SERVO_UPPER_ARM = p6; +const PinName P_SERVO_LOWER_ARM = p25; +const PinName P_SERVO_UPPER_ARM = p26; const PinName P_SERIAL_RX = p14; const PinName P_DISTANCE_SENSOR = p15; @@ -70,13 +70,13 @@ const PinName P_MOT_RIGHT_A = p23; const PinName P_MOT_RIGHT_B = p24; -const PinName P_ENC_RIGHT_A = p26; -const PinName P_ENC_RIGHT_B = p25; -const PinName P_ENC_LEFT_A = p27; -const PinName P_ENC_LEFT_B = p28; +const PinName P_ENC_RIGHT_A = p28;//p26; +const PinName P_ENC_RIGHT_B = p27;//p25; +const PinName P_ENC_LEFT_A = p29;//p27; +const PinName P_ENC_LEFT_B = p30;//p28; -const PinName P_COLOR_SENSOR_RED_UPPER = p29; -const PinName P_COLOR_SENSOR_BLUE_UPPER = p30; +const PinName P_COLOR_SENSOR_RED_UPPER = p13;//p29; +const PinName P_COLOR_SENSOR_BLUE_UPPER = p12;//p30; const PinName P_COLOR_SENSOR_RED_LOWER = p11; const PinName P_COLOR_SENSOR_BLUE_LOWER = p10;