Pages: [1]   Go Down
Author Topic: Stepper Object and setSpeed() function.  (Read 435 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,
I want to activate my stepper motor,
my question is which of the pins i entered in   "Stepper (stepNum,pin1,pin2,pin3,pin4)"
sends the steps signal?
i started with just two pins -  steps and direction.
i can see that the direction really changes every 5 sec. (as written in the code)
yet i dont get any signal on any other pin....

i wrote the follwing code to begin with:
 #include <Stepper.h>
int stepPin = 13;
int directionPin = 11;
Stepper motor (200, stepPin, directionPin,8,9);

void setup()  {

void loop()  
}// loop ends
« Last Edit: March 23, 2011, 02:34:32 pm by SuperveS » Logged

Pages: [1]   Go Up
Jump to: