Using a steppermotor with analog-pins

Hi there,

i have a pretty big project going where i need to control 8 5v stepper motors with two arduino nanos.
So obviously i need to use some of the analog pins as digital pins.

The question i have is, is there any way to use analog pins with the stepper.h libary?

thanks in advance

ps. sorry for the bad english im from germany

The analog pins can also be used as regular digital pins. Just refer to them as A0, A1 etc For illustration you can do

byte pinVal = digitalRead(A0);


Thanks alot you realy helped me