SPQR-Team1-2020/include/motors_movement/motor.h

15 lines
219 B
C++

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