help to resolve the error in code

guys ,
i have been working with 28byg-48 stepper motor..and found it doesnt work with exmaples code given for rotating clockwise and anti clockwise..but i have found another code which works ..i couldnt find the variation between two..can anyone help me with this...sorry i have attached the other code also now

SmallSteppe28YBJ_48r_ZC_A0591_DriverBoard_Exploring.ino (1.05 KB)

stepper_oneRevolution.ino (1.05 KB)

It's difficult (sarcasm... read as: impossible) for anyone to compare things when you only uploaded one of them.

Did you post the working one or the broken one?

MarkT:
Did you post the working one or the broken one?

Either way, it's still too Zenny... one hand clapping and all that... can't compare one thing with no thing.