I have 3 DC motors with internal rotary encoders. These motors have 6 wires= the pinout is +/VCC/A/B/GND/-
I also have 2 l298n dual h bridges.
I was wondering how to hook up these motors in order to power them and program through the h bridge, as well as know their position using the internal encoder. Do I need to hook up the A and B pinouts from the motor to 2 digital pins on my uno?
I am really strapped when it comes to digital pins on the uno, as 3 are required for each h bridge (A,B,PWM).