The driver requires a minimum 1.5ms pulse, I was able to create the pulse by using a potentiometer connected to A0 and an oscilloscope until I found the right pulse width, and wrote out to the serial monitor to then hard code that delay into the sketch (310 microseconds)
This makes no sense at all. The drive goes upto 300kHz so it'll handle very short
pulse widths indeed. The standard generic pulse width compatible with every drive
I've seen is 10us. Clearly this driver can handle about 1.5us pulse widths or it couldn't
see a 300kHz square wave.