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

Revision:
2:b6f5a4994a84
Parent:
0:243364135087
--- a/R1370.h	Fri Aug 24 04:38:13 2018 +0000
+++ b/R1370.h	Fri Aug 24 04:50:46 2018 +0000
@@ -1,18 +1,37 @@
 #ifndef R1370_H
 #define R1370_H
 
+/**
+ * Includes
+ */
 #include "mbed.h"
 #include <vector>
 
+/**
+ * Defines
+ */
 #define R1370_BUFFER_SIZE 15
 #define R1370_HEADER0 0xAA
 #define R1370_HEADER1 0x00
 
+/**
+ * R1370 sensor module
+ * sample code is here https://os.mbed.com/teams/NHK-Robocon2016_Nagaoka_B_Team/code/R1370sample/
+ */
 class R1370 : public RawSerial
 {
 public :
+    /**
+     * Constructor.
+     *
+     * set 2pins for UART
+     *
+     * @param tx - TXpin for UART
+     * @param rx - RXpin for UART
+     */
     R1370(PinName tx, PinName rx);
 
+    //Getters.
     float getAngle();
     float getRate();
     int16_t getAcc(char l);