ikarashiMDCの2byteバージョン

Dependents:   NHK2019_mae_v6 NHK2019_main_v6 NHK2019_usiro_v6 2019BSyudo ... more

Revision:
1:5e8014a1adbd
Parent:
0:314f2bed3958
Child:
2:75153205d6e8
--- a/ikarashiMDC.h	Mon Aug 07 22:39:44 2017 +0000
+++ b/ikarashiMDC.h	Thu Aug 10 07:17:14 2017 +0000
@@ -3,20 +3,22 @@
 
 #include "mbed.h"
 
-#define SUCCESS 111
 
-
-class ikarashiMDC{
+class ikarashiMDC
+{
         
 public:
     ikarashiMDC();
     int setMotorSpeed(double speed);
     int setMotorinfo(uint8_t _addr,uint8_t _motorNum,Serial* _serial);
+    void stop();
+    int checkcomm();
 protected:   
     uint8_t addr;
     uint8_t motorNum;
     Serial* serial;
+    DigitalOut* serialControl;
     
 };
-
+    
 #endif
\ No newline at end of file