Stepper motor controller and arduino

hahah, it works, finally, thankyou so much for your help.
I'm just editing the code now to decrease the juttee when turning and increase to find out what one rotation is. It is a geared stepper motor so it will require a lot more turning to get one rotation.
Just quickly, what would you increase or decrease in the code to make the stepper faster or slower?

I have attached a diagram of the arduino and tb6560 driver wiring I have done.
Also, thought I'd let you know, the enable pin DOES need to be connected to 5v or the stepper will not move.
Still can't get it to move with the Mach3 software though, probably the pin set up.

Any other information you could give me?
Thank you so much for your help you have given me,

thanks
Alexis