i finally converted the given .c file to hex file and i imported the hex file to pic18f252 using pickit 2.
i connected the circuit as per the diagram .but the leds are not switched on...
i guess i might have made some mistakes while converting the .c file .
i am really sorry for troubling you but could please please send me the hex file of yours........


digvijsai@gmail.com