SPQR-Team-2019-REVAMPED/include/motor.h

14 lines
202 B
C
Raw Normal View History

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