At a stage i was not getting correct input from PinC, to check I tried to read the status at PinC, and output to PortA, it is not working correctly. Recheked the code many timed , it was ok.
I am using ATMEGA 16.
I replaced PinC by PinB, it worked.
Is there anything special for PinC when used as simple input??
Thanks,
Moataz
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!