I don't have any actual code to share, but have a few things for you to check:

1. You set the enable pin LOW. Verify that LOW enables the motor.2. You loop 3230 times for 1 rotation. In that loop all you do is set the DIR pin to high. It is never set LOW. Also, should you pulse the STEP pin instead?3. When you do pulse the STEP pin (after the if statement), you don't give the pulse a duration.

This is what I would expect (Caveat - I have not compiled this or tested it. The real details depend on your specific motor.):