Sorry.
DC= direct/constant current (or voltage)
AC= alternating current (or voltage)
Normally AC is for +/- current, so therefore I used a wrong term.
Here I meant with "not DC" a "not constant" voltage, so an alternating voltage between 0 and 3.3 or 5V for each step!
https://drive.google.com/file/d/1O8O58tUmoIpo_TY5_v70Mmu0arO5wMQB/view?usp=sharing</div><div>Upper line is DIR-signal, lower line is STEP-signal. The dir signal alternates between 3.3 and 0V (upper part is 3.3 V). It is only set to the desired value around the step-signal. For the other direction it is not changed and therefore constant.
I did not know the "slow direction change" option. What means slow? Is there a value which I can read from the datasheet of the driver? Would be nice to comment on this in the configuration.h. Like: "if your driver needs more than x µs to react on a dir-change, you should set this to 1, e.g. DRV... needs y µs"
So it makes absolutely sense to make this dir signal a constant value, if this is for SLOW drivers.