yuto kawamura
/
MR2_2n_1_saku
sls
Diff: pin.h
- Revision:
- 1:86c4c38abe40
- Parent:
- 0:c1476d342c13
- Child:
- 2:55c616d2e0fe
diff -r c1476d342c13 -r 86c4c38abe40 pin.h --- a/pin.h Fri Apr 26 11:34:13 2019 +0000 +++ b/pin.h Sat Apr 27 04:28:33 2019 +0000 @@ -4,13 +4,13 @@ int resolution=500; -PwmOut motor_lo_f(p21); //モータ正転 -PwmOut motor_lo_b(p22); //モータ逆転 +PwmOut motor_lo_f(p22); //モータ正転 +PwmOut motor_lo_b(p21); //モータ逆転 PwmOut motor_li_f(p23); //モータ正転 PwmOut motor_li_b(p24); //モータ逆転 -Ec ec_lo(p5,p6,NC,resolution,0.01); -Ec ec_li(p8,p7,NC,resolution,0.01); +Ec ec_lo(p7,p8,NC,resolution,0.01); +Ec ec_li(p6,p5,NC,resolution,0.01); CAN can1(p9,p10);