code Stepper
This commit is contained in:
parent
8e97e8f092
commit
472c72bddd
15
Rotabator.ino
Normal file
15
Rotabator.ino
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#include "AccelStepper.h"
|
||||||
|
|
||||||
|
|
||||||
|
AccelStepper stepper;
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
|
||||||
|
Serial.begin(115200);
|
||||||
|
stepper.setMaxSpeed(1700);
|
||||||
|
stepper.setSpeed(1700);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
stepper.runSpeed();
|
||||||
|
}
|
Loading…
Reference in a new issue