Connect like this:
Do not use the breadboard for making the ground connection of the battery. Connect both battery plus and minus directly to the L298 as I show.
Connect like this:
Do not use the breadboard for making the ground connection of the battery. Connect both battery plus and minus directly to the L298 as I show.