11 lines
152 B
C++
11 lines
152 B
C++
|
#include "motor.h"
|
||
|
|
||
|
Motor::Motor(int a, int b, byte pwm){
|
||
|
pinA = a;
|
||
|
pinB = b;
|
||
|
pinPwm = pwm;
|
||
|
}
|
||
|
|
||
|
void Motor::drive(int dir, int speed){
|
||
|
|
||
|
}
|