R1370
Dependents: NHK2017_octopus2 NHK2017_octopus2_drive 2018NHK_gakugaku_robo 2018NHK_gaku_ver2
Fork of R1307 by
r1307.h
- Committer:
- takeuchi
- Date:
- 2017-11-08
- Revision:
- 5:47dbcf162951
- Parent:
- 4:927d58c8eec1
File content as of revision 5:47dbcf162951:
#ifndef R1307_H #define R1307_H #include "mbed.h" class R1307 { private: Serial serial; Ticker ticker; float gAngle; float gRate; float gX_acc; float gY_acc; float gZ_acc; public: R1307 (PinName tx_,PinName rx_); void update(); float getRate() const; float getAngle() const; float getAccX() const; float getAccY() const; float getAccZ() const; }; #endif /* end of include guard: R1307_H */