Some speed controllers have an invert input to do this for you.