I am new to step motor and its driver. I bought a step motor 42BYGH403 with leads : yellow-red-green-blue.
and I want to connect this wires to related pins on driver drv8825. such as:
but i don't know which color (lead) should be connected to which pin A1, A2, B1 or B2?