Ryo Ogata
/
jumpROBO6_2_1
kairyou sita
Fork of jumpROBO6_2 by
Diff: main.h
- Revision:
- 1:b81c22891370
- Parent:
- 0:4c7c138f3891
--- a/main.h Sat Oct 19 04:50:26 2013 +0000 +++ b/main.h Sun Oct 20 01:39:55 2013 +0000 @@ -21,18 +21,18 @@ ColorSensor color2(p12, p9, p10, p11, 10); ColorSensor color3(p8, p5, p6, p7, 10); -ColorSensor color4(p24, p21, p22, p23, 10); -ColorSensor color5(p30, p25, p26, p29, 10); -//ColorSensor color4(p26, p23, p24, p25, 10); -//ColorSensor color5(p30, p27, p28, p29, 10); +//ColorSensor color4(p24, p21, p22, p23, 10); +//ColorSensor color5(p30, p25, p26, p29, 10); +ColorSensor color4(p26, p23, p24, p25, 10); +ColorSensor color5(p30, p27, p28, p29, 10); Serial pc(USBTX, USBRX); // tx, rx DigitalOut led[4] = {LED1,LED2,LED3,LED4}; //DigitalOut air[2] = {p7,p8}; -//Servo myservo1(p21); -//DigitalIn sw1(p22); +Servo myservo1(p21); +DigitalIn sw1(p22);