R1370

Dependents:   NHK2017_octopus2 NHK2017_octopus2_drive 2018NHK_gakugaku_robo 2018NHK_gaku_ver2

Fork of R1307 by Wataru Nakata

Revision:
1:59efa65938c7
Parent:
0:1356771603cf
Child:
3:7105b2e1f51e
--- a/r1307.h	Fri Sep 01 06:12:50 2017 +0000
+++ b/r1307.h	Sat Sep 02 19:30:23 2017 +0900
@@ -1,2 +1,21 @@
-#include <mbed.h>
+#ifndef R1307_H
+#define R1307_H
+
+#include "mbed.h"
+
+class R1307 {
+private:
+  Serial serial;
+  Ticker ticker;
 
+public:
+  R1307 (PinName tx_,PinName rx_);
+  void update();
+  float gAngle;
+  float gRate;
+  float gX_acc;
+  float gY_acc;
+  float gZ_acc;
+};
+
+#endif /* end of include guard: R1307_H */