Lorenzogrosso06: try this code
DO NOT TRY THAT CODE - it is for an entirely different type of stepper motor driver.
...R