I did try another one, same output. do not want to thinks something wrong with that batch!?
Moataz
Zack Widup wrote:
A couple questions - what do you have connected to Pin C? Has there ever
been an overvoltage on it? I accidentally put 12 volts on an AVR I/O pin
once and that pin was never the same again.
And have you tried several different chips to make sure you don't have a
bad one?
Zack
On Mon, 27 Feb 2006, Moataz Hussein wrote:
>
> 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
>
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.