Calculate the correct current limit for driver A4988

What's the problem with the links from @groundFungus ?
If you drive the stepper in full step and use 4 pins, then there are two pairs where one pin is always the inverted one of the other. You don't need an extra pin on the Arduino for that, you can do that with an inverter. And this is what can be seen in the links from @groundFungus.