Hi, I am using NEMA 17 Stepper motor with Arduino Mega 2560 + RAMPS 1.4 .
I connected just 1 motor (X_motor on RAMPS) and uploaded the test code.
The test code successfully uploaded to Mega and motor rotates for 5 seconds and change direction.
And now I'm trying change code to rotate X_motor with data from the PC.
The variables which is related with X_motor are like below
X_ENABLE_PIN :
X_MIN_PIN :
X_MAX_PIN :
X_DIR_PIN : decides the direction of the rotation
X_STEP_PIN : decides the steps of rotation
I understand the role of X_DIR_PIN & X_STEP_PIN but not X_ENABLE_PIN & X_MIN_PIN & X_MAX_PIN
Why the test code writes digitalWrite(X_ENABLE_PIN,LOW); at setup()?
What will happen if I change LOW -> HIGH???(I'm worried about bad result like fire in my board haha ~_~;;;