/*
 * https://github.com/ru2saig/pico-accelstepper/
 */

#include <stdio.h>
#include "pico/stdlib.h"
#include "AccelStepper.h"

int main()
{
  // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5
  AccelStepper stepper(AccelStepper::DRIVER, 3, 2);
  stepper.setMaxSpeed(1000);
  stepper.setSpeed(50);

  while (true) {
    stepper.runSpeed();
  }
}
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
A4988