stepper motor control using PWM and non-shield motor driver

Basically I need to send a PWM square wave on one pin of the arduino.

Trust me, no you don't. If you do you will have no control over how many steps the motor gets.