hi i am trying to figure out the best way to make a small electric motor go foward then reverse on a constant on position. (like a printer would go back and forth). how would i go about doing this?