If you reverse A+ A- or B+ B- you reverse the motor.