okada yasuhiro / MD_MDDS30_oit
Revision:
4:085a9c395959
Parent:
3:a64fd9b238c5
diff -r a64fd9b238c5 -r 085a9c395959 MDDS30_oit.h
--- a/MDDS30_oit.h	Thu Jul 22 01:06:29 2021 +0000
+++ b/MDDS30_oit.h	Sat Jul 24 11:13:57 2021 +0000
@@ -2,16 +2,18 @@
 #define MDDS30_OIT_H
 #include "mbed.h"
 
+
 class MDDS30oit{
 public:
     MDDS30oit(PinName _txpin, PinName _rxpin);
     Serial md;
-    int word=1,word2=0;
-    int direction=0;
-    int leftfront=0;
-    int rightfront=0;
-    int leftback=0;
-    int rightback=0;
+    int word;
+    int word2;
+    int direction;
+    int leftfront;
+    int rightfront;
+    int leftback;
+    int rightback;
     void lefttire(float speed);
     void righttire(float speed);
     };