robot/robot_arduino/Robot_Seguidor/Motor_DC.h

16 lines
245 B
C
Raw Normal View History

2024-12-25 21:57:57 -06:00
class Motor_DC
{
private:
int A;
int B;
int Pwm;
public:
Motor_DC(int a,int b,int pwm): A(a), B(b),Pwm(pwm){}//Constructor
void Inicializar_Motor();
void Adelante(int Velocidad);
void Atras(int Velocidad);
void Stop();
};