SPQR-Team-2019-REVAMPED/include/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;
};