シリアルコントロール消した

Dependents:   kobayashi_rei kobayashi_rei

Files at this revision

API Documentation at this revision

Comitter:
THtakahiro702286
Date:
Mon Jul 08 08:43:58 2019 +0000
Parent:
13:ea34af94e90c
Commit message:
not serialcontrol

Changed in this revision

ikarashiMDC.cpp Show annotated file Show diff for this revision Revisions of this file
ikarashiMDC.h Show annotated file Show diff for this revision Revisions of this file
diff -r ea34af94e90c -r b692953d8f13 ikarashiMDC.cpp
--- a/ikarashiMDC.cpp	Sat Nov 11 10:50:30 2017 +0000
+++ b/ikarashiMDC.cpp	Mon Jul 08 08:43:58 2019 +0000
@@ -1,10 +1,8 @@
 #include "ikarashiMDC.h"
 
 
-ikarashiMDC::ikarashiMDC(DigitalOut* serialcontrol,uint8_t taddr,uint8_t tmotorNum,bool tmode,Serial *tserial)
+ikarashiMDC::ikarashiMDC(uint8_t taddr,uint8_t tmotorNum,bool tmode,Serial *tserial)
 {
-    serialControl = serialcontrol;
-    serialControl->write(true);
     serial = tserial;
     addr = taddr;
     motorNum = tmotorNum;
diff -r ea34af94e90c -r b692953d8f13 ikarashiMDC.h
--- a/ikarashiMDC.h	Sat Nov 11 10:50:30 2017 +0000
+++ b/ikarashiMDC.h	Mon Jul 08 08:43:58 2019 +0000
@@ -54,7 +54,7 @@
     * @param mdc mode (LAP or SM)
     * @param  address of serial object
     **/
-    ikarashiMDC(DigitalOut* serialcontrol,uint8_t taddr,uint8_t tmotorNum,bool tmode,Serial *tserial);
+    ikarashiMDC(uint8_t taddr,uint8_t tmotorNum,bool tmode,Serial *tserial);
     
     /** drive motor
     * @param speed of motor -1 to 1
@@ -67,7 +67,6 @@
     uint8_t motorNum;
     bool mode;
     Serial* serial;
-    DigitalOut *serialControl;
     
 };
 void estop(Serial *serial);