L298N motor controlled DC motor

see page 6 about the flyback diodes