If I were to use an l298 chip to control two small 12vdc motors what schematic would i use to control the polarity of the motors. Can I simply put power to one input and get a cw rotation on one of the motors and power to the next input to get a ccw rotation out of the same motor. Also can I put a variable resistor to the inputs to control speed. I really need some help. Thanks