/*
Arduino | hardware-help
problem with A4988 Driver
Stoneware September 3, 2025 — 1:44 PM
Hello, I just started playing with Arduino.
I’m working on a simple project with a stepper motor.
*/
const int dirPin = 2;
const int stepPin = 3;
void setup() {
pinMode(stepPin, OUTPUT);
pinMode(dirPin, OUTPUT);
}
void loop() {
digitalWrite(stepPin, HIGH);
delayMicroseconds(1000);
digitalWrite(stepPin, LOW);
delayMicroseconds(1000);
}