stepper color code

camilozk:
Hi!

I am using the Adafruit Motor Shield V2 for Arduino for my first experiments with nema 17 steppers.

I bought some time ago a stepper which color code was red blue green black and I successfully connected it red-blue to M3, and green-black to M4.

Now I received another one which color code is red yellow green blue (picture attached) and I dont know how to connect it and I dont want to mess things up.

ideas? thanks!

That is where your ohm meter will tell you which colors are paired.

Paul