void setup() { // Start Serial2 at 4800 baud // RX = 16, TX = 17 Serial2.begin(4800, SERIAL_8N1, 16, 17); } Serial2.begin(...): initializes secondary serial ...
// Creates an instance - Pick the version you want to use and un-comment it. That's the only required change. //AccelStepper myStepper(AccelStepper::FULL4WIRE, AIn1, AIn2, BIn1, BIn2); // works for ...