The LEDs only light when getting step pulses from the processor.
Pictures of code are worthless. Please read the forum guidelines to see how to properly post code and some information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.
I suggest a better power supply for the motor.
