Hi, i have a question about l298n module. There is 2 way of motor drive as far as I understand,
1 - I can use jumper for enable pins and directly use pwm (let say D3 pin). I can control motor speed.
2- I can send pwm to enable pin and +5v gnd motor pins. Still i can control motor speed
I m wondering what's the differences and advantages or disadvantages of these 2 methods
If you wanted reversing with speed control in both directions, 2 non PWM pins for !n1, In2 (direction) and 1 PWM pin for analogWriting ENA (speed), that also gives you braking ability if needed (set both In pins either HIGH or LOW and keep ENA HIGH):