I have cut the tracks and soldered wires
gcode uses d2 as a step and d5 as a direction
A couple of things:1. Are you sure you have the A4988 boards correctly oriented? In other words, if they were put in place flipped around, would the pins vs function match?
2. Given that these boards are custom things from China, they very well could be made wrong, or maybe the CNC software they are using with the board uses a different pin spec?
3. Are you sure you are supposed to use GRBL with these boards? Again, maybe there is a custom Chinese software meant for loading on the Arduino per question 2?
4. Why bother altering the board? Just alter the pin numbers in the config file the 328p:https://github.com/grbl/grbl/blob/master/grbl/cpu_map/cpu_map_atmega328p.h
5. It is likely that your alterations of the board has damaged something. Pull the A4988 boards from the carrier, and test them independently using a solderless breadboard and some jumpers.Good luck.
To answer the question in your title - It is now.
You can't seriously expect someone who is unfamiliar with the original board and who cannot see how you have mucked it up to give advice.
Just start over, buy another board and put it down to experience.
gcode is a machine language for CNC style machines to tell the machine to move the xyz-axis by the machine's post processor. It has nothing to do directly with step/dir pins.This is done by setting up your hard- and software on the controller side, in your case: in the grbl settings as said in a previous post.
No but I was serious expecting someone who had experience of this board to answer and not someone who is just looking for an excuse to complaining about something and I resent the 'mucked up' when you have no experience of the device or my ability.
1. it "step" and "dir" is different. so, you must be change pin define.please in source code folder , looking for cpu_map.h (grbl 1.1f)(grbl 0.9J : grbl-master\grbl\cpu_map\cpu_map_atmega328p.h)#define X_STEP_BIT 5 // Uno Digital Pin 2#define Y_STEP_BIT 6 // Uno Digital Pin 3#define Z_STEP_BIT 7 // Uno Digital Pin 4#define X_DIRECTION_BIT 2 // Uno Digital Pin 5#define Y_DIRECTION_BIT 3 // Uno Digital Pin 6#define Z_DIRECTION_BIT 4 // Uno Digital Pin 72. about MS1 MS2 MS3 jumper ,the circuit is wrong, you can remove jumper first,You do not need it anymore,Trust me.3. try to short circuit (green line)grbl 0.9j downloadgood luck to you!