Hi
As a part of my project i have to control the stepper motor using pic microcontroller. I will be grateful if i can be provided with codes using ccs c compiler and circuit diagram
You should go directly to microchip's website and search the application note with the key words motor control. There are related application notes and corresponding source codes.