I did this about a year ago on request from another piclist member. In the code you will see where the each individual windings are connected. The actual arrangement will depend on your stepper... naturally you will have to use a driver circuit suitable for your stepper's demand. If you want a test and a light-show, connect LED's (with series Resistors) to represent each winding.