I'm using an Arduino Nano IoT 33 with an A4988 motor driver from Longruner to power a Nema 17HS4401.
The setup is working perfectly fine.
But only when the DIR pin is set to LOW. When I set it to HIGH to switch the direction. The motor doesn't move at all.
This way I can only rotate the motor in one direction.
I have tried using a completly new A4988 and also checked if the D2 pin of the Arduino (DIR) is working proberly (it does).
Do you have any suggestions?