What are the pins i need to use in declaring a instance of object of type stepper
Stepper motor(revs, PIN1, PIN2, PIN3, PIN4)
To what pins correspond pin1, 2, 3, 4 if i use th arduino motor shield ?
arduino motor shield stepper pins
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: arduino motor shield stepper pins
The Motor shield does not use the Stepper library and does not require you to specify any pins. It uses the I2C bus for all communication.What are the pins i need to use in declaring a instance of object of type stepper
Stepper motor(revs, PIN1, PIN2, PIN3, PIN4)
None. The Motor shield communicates via the i2c bus.To what pins correspond pin1, 2, 3, 4 if i use th arduino motor shield ?
Please read through the Motor Shield Tutorial here: http://learn.adafruit.com/adafruit-moto ... o/overview
-
- Posts: 74
- Joined: Thu Feb 20, 2014 5:36 pm
Re: arduino motor shield stepper pins
Hi, im speaking about the Arduino Motor Shield not the Adfaruit motor Shield
Im not able to solder the Adafruit motor shield, so i need to use the arduino motor shield
http://arduino.cc/en/Main/ArduinoMotorShieldR3
Using the stepper class, i dont know what pins to put at instance declaration ?
Im not able to solder the Adafruit motor shield, so i need to use the arduino motor shield
http://arduino.cc/en/Main/ArduinoMotorShieldR3
Using the stepper class, i dont know what pins to put at instance declaration ?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: arduino motor shield stepper pins
That is not a shield we sell here, so I am not familiar with it. Complete board specifications for it should be available at arduino.cc.
Please be positive and constructive with your questions and comments.