stepper 1 revolution example sketch wont work?

How are you supplying power to the stepper? Please post a wiring diagram (schematic).