SPQR-Team1-2020/include/motor.h

15 lines
219 B
C++
Executable File

#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;
};