L298N and problems with steppin motor

That's a nice drawing and it looks correct. The code in Reply #20 is nearly right. The problem is that you are sending your pulses to the direction pin. And you have no control on the step pin. You need to set the direction pin HIGH or LOW and then send pulses to the step pin.

Try the code in my link in Reply #10. But make sure the pin references are correct for your wiring.

...R