I design a circuit awhile back and sold many pcb;s with my design
My design is that you can use 4 wire instead of 5 wire to control the l298 h-bridge board,second you can control PWM seperate for each motor and add a brake if wanted
Its a 2 wire design,i dont know if it will work with EZB it should,it has one direction control and one pwm control and can be set up with total of 3 wires too
with 2 wire for direction control and one pwm control ,and if needed another wire for safety brake or overload (stall) brake.
way it set up now it uses 2 wire per motor for direction and en pin for pwm control
my circuit is under $3 in parts