15 lines
187 B
C++
15 lines
187 B
C++
#include "AccelStepper.h"
|
|
|
|
|
|
AccelStepper stepper;
|
|
|
|
void setup() {
|
|
|
|
Serial.begin(115200);
|
|
stepper.setMaxSpeed(1700);
|
|
stepper.setSpeed(1700);
|
|
}
|
|
|
|
void loop() {
|
|
stepper.runSpeed();
|
|
}
|