the potentiometer is for setting the speed, and the push button is for toggeling the dircetion.

///