モータを回すよ
motor.hpp
- Committer:
- m2130
- Date:
- 2022-02-02
- Revision:
- 0:a773f39e5d7a
File content as of revision 0:a773f39e5d7a:
#ifndef Motor_H #define Motor_H #include "mbed.h" class Motor{ public: Motor(PinName MP, PinName MM); void out(double pwm); private: PwmOut mp; PwmOut mm; }; #endif