123456789101112131415161718192021 |
- /*
- This is the Simplest code to move a stepper motor
- using the EasyDriver controller
- code at:
- https://www.schmalzhaus.com/EasyDriver/Examples/EasyDriverExamples.html
- */
- void setup() {
- pinMode(8, OUTPUT);
- pinMode(9, OUTPUT);-
- digitalWrite(8, HIGH);
- digitalWrite(9, LOW);
- }
- void loop() {
- digitalWrite(9, HIGH);
- delay(1);
- digitalWrite(9, LOW);
- delay(1);
- }
|