What stepper? What driver? Post links to their data sheets, please.
Can you show a photo of the microstep setting device (switches, jumpers, ... )?
Post your test code. Please post the test code.
Read the forum guidelines to see how to properly post code and some good information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.