Due A4988 4wire stepper

Hmmm, that program looks kinda familiar, does it work? Did you measure the coil resistance from wire to wire?