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

15 lines
219 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);
2019-11-13 16:26:03 +01:00
Motor();
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
};