i want to control a stepper motor with the values send by rs232 and get the feedback from the pot, but to check the values of adc and uart , i just used dummy values in the below code
Are you using mikroC. If yes, then where is your LCD Initialization, UART Initialization etc., Can you post your schematic. What PIC are you using? What Fosc?