基本クラス

Dependents:   300_PS3com Quadrifoglio_PS3COM

Revision:
4:c9ef83cbe905
Parent:
3:9b1aefdd251a
--- a/Master.cpp	Sat Jun 18 08:42:38 2022 +0000
+++ b/Master.cpp	Thu Jun 23 15:01:48 2022 +0000
@@ -9,18 +9,11 @@
     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.15);
+    shot.setkickperiod(Kicker_Period);
+    shot.setoutputtime(Kicker_OutPutTime);
     drib.setspeed(0.0);
 }
 
-void Master::SetPS3Address(bool *button_, uint8_t *trigger_, uint8_t *stick_)
-{
-    button = button_;
-    stick = stick_;
-    trigger = trigger_;
-}
-
 void Master::Shot()
 {
     shot.outPut();