Modificacion para usar Puente H L298N en vez del integrado L293D

This commit is contained in:
Kevin Muñoz 2024-12-25 23:13:43 -05:00
parent 129e386bf9
commit 0c643db7fb
Signed by: mrhacker
GPG Key ID: E5616555DD4EDAAE

View File

@ -2,12 +2,12 @@
class Motor_DC
{
private:
int A;
int B;
int Pwm;
int IN1;
int IN2;
int ENA;
public:
Motor_DC(int a,int b,int pwm): A(a), B(b),Pwm(pwm){}//Constructor
Motor_DC(int in1,int in2,int ena): IN1(in1), IN2(in2),ENA(ena){}//Constructor
void Inicializar_Motor();
void Adelante(int Velocidad);
void Atras(int Velocidad);