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