I bought a Pololo A4988 stepper driver to configute microstepping I need to bring some pins to logig high or logic low (which they are in by default).
I can simply connect them to +5V? Or is there a difference between bringing them to high via a digital PIN and connecdting them to +5V rail?
Nearly all modern stuff is CMOS, and CMOS logic levels go right to the rails. (This wasn't true
for older TTL logic families which used pull-up resistors for logic high)