DC Motor Controlling at ardiuno?

Hi brothers
Nowadays i try to build DC motor controll circuit but i couldnt understand something in this circuit.
I used a 220 ohm resistor and a transistor and a simple diot. Complex part in this circuit; why i am connecting motor cable front of the diot leg??

If you analize this circuit, please describe it :smile:

I’m new here and just a for-fun electronics guy but I’ll give it a shot:

It doesn’t matter whether you connect the motor cable in front of or behind the leg of the diode, the breadboard provides a connection to every ‘hole’ in that column.

I have to admit it took me a minute to wrap my head around your circuit! I re-created it in Fritzing myself to make sure I understood it.