taiyou komazawa
/
Nucleo_fliping_arm
2018 HongoMechaTech A
lib/StraightMD.h
- Committer:
- Komazawa_sun
- Date:
- 2018-09-18
- Revision:
- 0:e83b840a5f86
File content as of revision 0:e83b840a5f86:
#ifndef _MD_H_ #define _MD_H_ #include <MD.h> class StraightMD : public MD { public: StraightMD(PinName pwm,PinName dere); virtual void drive(double); virtual void brake(double); virtual void free(); //void rotate(double duty); private: PwmOut Pwm; DigitalOut Dere; }; #endif