Paso 3: programa de
lmotor int = 13; declara los dos motores
rmotor INT = 12;
void setup()
{
pinMode (lmotor, salida);
pinMode (rmotor, salida);
}
void loop()
{
digitalWrite (lmotor, HIGH);
digitalWrite (rmotor, HIGH);
Delay(1000);
digitalWrite (lmotor, HIGH);
digitalWrite (rmotor, LOW);
Delay(1000);
}