ライブラリ化を行った後

Dependencies:   QEI accelerator bit_test cyclic_io cyclic_var cylinder event_var limit mbed mecanum motor_drive pid pid_encoder rs422_put sbdbt servo

Fork of 17robo_Practice1 by kusano kiyoshige

Revision:
77:17469192b53a
Parent:
72:7d6177047823
--- a/main.cpp	Wed Sep 27 09:46:22 2017 +0000
+++ b/main.cpp	Thu Sep 28 02:25:00 2017 +0000
@@ -135,7 +135,6 @@
 CyclicIo    reloadCylinder(RELOAD_CYLINDER);
 DigitalOut  controlIndigator(CONTROL_INDICATOR);
 
-
 int main()
 {
     setup();
@@ -233,6 +232,7 @@
         shotEncoder.origin();
         shot::cylinderPosNum = 0;
         shot::cylinderPower = -0.0;
+        reloadCylinder.cyclicOff();
         return 0.0;
     }else if(shot::cylinderOriginFlag == 1){
         return -0.8;