measuringwheel関数がついかされています。

Revision:
4:ee51008e03e2
Parent:
1:ec87437c2029
diff -r ec87437c2029 -r ee51008e03e2 R1370.h
--- a/R1370.h	Mon Aug 27 04:45:30 2018 +0000
+++ b/R1370.h	Tue Dec 18 18:51:58 2018 +0900
@@ -27,19 +27,21 @@
     
 private :
     void receiveByte();
+    void checkData();
     void assembleLoop();
     void assemble();
     
-    Thread thread;
-    std::vector<unsigned char> buf;
-    
     uint8_t index;
     int16_t angle;
     int16_t rate;
     int16_t acc[3];
     uint8_t reserved;
+    uint8_t buffer[R1370_BUFFER_SIZE];
+    uint8_t data[R1370_BUFFER_SIZE-3];
+    uint8_t bufferPoint;
+    uint8_t receivedBytes;
     
     unsigned char upbit_, downbit_;
 };
 
-#endif
\ No newline at end of file
+#endif