Ver Tikutaikai

Dependencies:   mbed SBDBT BNO055 YKNCT_MD YKNCT_I2C

Revision:
1:fa3652aca312
Parent:
0:c527a14d991a
--- a/main.h	Tue Oct 12 03:57:59 2021 +0000
+++ b/main.h	Mon Oct 25 10:37:05 2021 +0000
@@ -46,6 +46,10 @@
 
         BallShotTim.start();
 
+        limitTop.mode(PullDown);
+        limitBottom.mode(PullDown);
+        limitMagazine.mode(PullDown);
+        
         encDeg[0]=0;
         encDeg[1]=0;
         encDeg[2]=0;
@@ -107,7 +111,7 @@
 #define ROUND(_DATA_) ((int)((_DATA_)*10)%10<=3?(_DATA_):(_DATA_)+1)
 
 //350 800
-#define STEP(_STEP_) ((_STEP_ > 2) ? 400 : 800)
+#define STEP(_STEP_) ((_STEP_ > 2) ? 300 : 800)
 
 
 /* コントローラー SerectとStartを実装 */