For Rotaryencoder and Motor
motor.hpp
- Committer:
- m2130
- Date:
- 22 months ago
- Revision:
- 1:9e7d6d72e352
- Parent:
- 0:b1487fd792c9
File content as of revision 1:9e7d6d72e352:
#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