This is some awesome robot code

Dependencies:   mbed-rtos mbed QEI

Fork of ICRSEurobot13 by Thomas Branch

Files at this revision

API Documentation at this revision

Comitter:
rsavitski
Date:
Sat Apr 13 22:20:05 2013 +0000
Parent:
57:d434ceab6892
Child:
59:63609922579c
Child:
61:a7782a35ce4f
Commit message:
MOVED HARDWARE PINS

Changed in this revision

globals.h Show annotated file Show diff for this revision Revisions of this file
--- 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;