All unused input pins on the motor driver should be connected to the appropriate logic level (HIGH or LOW), not necessarily to the Arduino.
All unused input pins on the motor driver should be connected to the appropriate logic level (HIGH or LOW), not necessarily to the Arduino.