L298N motor controlled DC motor

i changed a little bit, to fit my needs, because my Arduino Pin 10 was used by my Ethernet shield.

So is pin 12.