First, I wish to greet all the members of this forum and that these words are worth as presentation.
And, of course, I want to ask a little question I have:
How do I connect pololu driver with arduino mega 8825 2560r3?, I tested with the connection shown in pololu site
http://www.pololu.com/catalog/product/2132 and is not in any way.
To test, I loaded the program on the arduino:
int sleep = 11;
int reset = 10;
int direccion = 9;
int paso = 8;
void setup()
{
pinMode(sleep,OUTPUT);
pinMode(reset,OUTPUT);
pinMode(direccion,OUTPUT);
pinMode(paso,OUTPUT);
pinMode(12,OUTPUT);
digitalWrite(sleep, HIGH);
digitalWrite(reset, HIGH);
digitalWrite(direccion, HIGH);
}
void loop()
{
digitalWrite(12, HIGH);
digitalWrite(paso, HIGH);
delay(100);
digitalWrite(12, LOW);
digitalWrite(paso, LOW);
delay(100);
}
The pin 12 is to see me in a LED each program cycle ...
Awaiting your instructions ...
A greeting.
P.D.: Sorry for the English, is the translator of google.