void loop() // your motor control code here

// HW-130 L298P Motor Shield Pin Definitions const int E1 = 10; // M1 Speed (PWM) const int M1 = 12; // M1 Direction const int E2 = 11; // M2 Speed (PWM) const int M2 = 13; // M2 Direction

The L293D chips can get hot. If you are drawing close to 600mA continuously, consider sticking a small aluminum heatsink onto the ICs. Conclusion

Cut that trace or remove the jumper immediately for high-voltage projects.

void loop() // Motor A Forward at 75% speed digitalWrite(IN1, HIGH); digitalWrite(IN2, LOW); analogWrite(ENA, 191); // 255 * 0.75

// Define pins based on HW-130 hard-wiring int MA_Speed = 3; // Motor A Speed int MA_Dir = 12; // Motor A Direction int MB_Speed = 11; // Motor B Speed int MB_Dir = 13; // Motor B Direction

void loop() // Motor A Forward at half speed digitalWrite(MA_Dir, HIGH); analogWrite(MA_Speed, 128);