SPQR-Team1-2020/include/motor.h

13 lines
193 B
C
Raw Normal View History

2019-10-21 08:06:37 +02:00
#include <Arduino.h>
class Motor {
public:
Motor(int a, int b, byte pwm);
void drive(int dir, int speed);
public:
int pinA, pinB;
byte pinPwm;
};