Controlling position of linear actuator

nm, I think you meant, remove the PWM from the first pin, and then pwm the second pin to kind of shunt it into reverse, but at a low enough speed that it won't actually go backwards.

Hmm, if so, that is a great suggestion!