基本クラス
Dependents: 300_PS3com Quadrifoglio_PS3COM
Diff: Master.cpp
- Revision:
- 1:60319e61775d
- Parent:
- 0:e2da5742a718
- Child:
- 2:9d9681465f4a
--- a/Master.cpp Sat Jun 11 13:24:51 2022 +0000 +++ b/Master.cpp Tue Jun 14 05:01:15 2022 +0000 @@ -5,10 +5,10 @@ ,shot(kicker) ,drib(ESCpin) { - motor[0] = new KohiMD(PA_15); - motor[1] = new KohiMD(PA_6); - motor[2] = new KohiMD(PA_7); - motor[3] = new KohiMD(PB_6); + motor[0] = new KohiMD(Pin_motor_0); + motor[1] = new KohiMD(Pin_motor_1); + motor[2] = new KohiMD(Pin_motor_2); + motor[3] = new KohiMD(Pin_motor_3); shot.setkickperiod(2.0); shot.setoutputtime(0.1); drib.setspeed(0.0);