Chuck,
I have copied your sketch However it only runs one direction. I'm using uno wih the Sainsmart shield and a tb6560 driver. Your picture seems to show you using pins 3 and 4 although the sketch says pins 2 and 3. I have EN-, CW-, and CLK- going to ground. Could you help me with the...