卒研
Fork of omuni by
Diff: omuni.h
- Revision:
- 1:75b51c0b7f47
- Parent:
- 0:c0f3e14f1ed1
--- a/omuni.h Tue Oct 10 12:50:39 2017 +0000 +++ b/omuni.h Wed Oct 11 08:42:46 2017 +0000 @@ -10,8 +10,12 @@ private: I2C *i2c; T_motor m1,m2,m3; + Timer timer; + double speed; char RXData[dataNum]; int8_t map(int8_t in, int8_t inMin, int8_t inMax, int8_t outMin, int8_t outMax); + void acceleration(); + void speed_reset(); public: omuni(I2C* i2c_,int8_t addr1,int8_t addr2,int8_t addr3);