Diwire bender

Help I have been working on this for a few weeks and I cant for the life of me figure out whats wrong in this code. I got it from the wired project git hub. The processing code seems to work but I cant get the arduous to move the steppers at all. I have treid checking all of my connections and it still wont work. I have even tested the steppers and drivers they work. so the only thing I can think of is that the Arduino code is fudged up. Any Help would be great.

sketch3.pde (4.95 KB)

diwire.ino (7.39 KB)

A link to the project page on Github would be a big help.

In this code

     digitalWrite(bendMotorPls, HIGH);
      delayMicroseconds (pulseWidth);
      digitalWrite(bendMotorPls, LOW);
      delayMicroseconds (pulseDelay);

the motor is required to make over 1000 steps per second with no acceleration.

Try changing the pulseDelay to 7000 (or maybe 70,000) and see what happens. Note that if you exceed 32767 you will need to change the datatype to a long

...R