For Rotaryencoder and Motor

Dependencies:   arrc_mbed

Dependents:  

motor.hpp

Committer:
m2130
Date:
2022-07-16
Revision:
0:b1487fd792c9

File content as of revision 0:b1487fd792c9:

#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