SPQR-Team1-2020/include/motor.h

14 lines
202 B
C++

#pragma once
#include <Arduino.h>
class Motor {
public:
Motor(int a, int b, int pwm, int angle);
void drive(int speed);
public:
int pinA, pinB, pinPwm, angle;
};