I also just had the pleasure of using the L298N. I couldn’t get it to work with the H-Bridge component.
Here is my solution: