It is sure connected it powers Port A as mentioned in the datasheet, what I am having is bits 2,3,4,5 are always on.
Moataz
Richard Reeves wrote:
Richard Reeves wrote:
Have you connected AVCC to VCC? I think Port C is powered from AVCC
on the Mega16.
Richard
--- In AVR-Chat@yahoogroups.com, 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
>
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!