ikarashiMDCの2byteバージョン

Dependents:   NHK2019_mae_v6 NHK2019_main_v6 NHK2019_usiro_v6 2019BSyudo ... more

Revision:
0:314f2bed3958
Child:
1:5e8014a1adbd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ikarashiMDC.h	Mon Aug 07 22:39:44 2017 +0000
@@ -0,0 +1,22 @@
+#ifndef IKARASHIMDC_H
+#define IKARASHIMDC_H
+
+#include "mbed.h"
+
+#define SUCCESS 111
+
+
+class ikarashiMDC{
+        
+public:
+    ikarashiMDC();
+    int setMotorSpeed(double speed);
+    int setMotorinfo(uint8_t _addr,uint8_t _motorNum,Serial* _serial);
+protected:   
+    uint8_t addr;
+    uint8_t motorNum;
+    Serial* serial;
+    
+};
+
+#endif
\ No newline at end of file