/******************************************************** ** More info about the project at: ** ** http://lusorobotica.com/viewtopic.php?t=103&f=106 ** ** by TigPT at www.LusoRobotica.com ** *********************************************************/ int dirPin = 2; int stepperPin = 3; void setup() { pinMode(dirPin, OUTPUT); pinMode(stepperPin, OUTPUT); } void step(boolean dir,int steps){ digitalWrite(dirPin,dir); delay(50); for(int i=0;i