enableOutputs() sets the configured pins to output mode, so for example for
your stepper1 the call to stepper1.enableOutputs() sets pins 2 and 23 to
output mode and then uses them for pulsing the stepper.
Cheers.
--
Mike McCauley mi...@open.com.au
Open System Consultants Pty. Ltd
9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au
Phone +61 7 5598-7474 Fax +61 7 5598-7070
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
AccelStepper does not manage enable pins for steppers,. You should set them
yourself.
Cheers.
Sorry, I gave the wrong answer.
If you configure an enable pin eg:
stepper.setEnablePin(7)
then pin 7 will be set/cleared when you call enableOutputs()/disableOutputs()
Cheers.