is there a stop function or code to make the motor control not to try to drive the motors when powered up? i try to stop it by doing this:
analogWrite(RightMotorPWMPin, 0);
digitalWrite(RightMotorPWMDir, LOW);
analogWrite(LeftMotorPWMPin, 0);
digitalWrite(LeftMotorPWMDir, LOW);
but every time i plug the battery it starts driving the motors. is there a better way?