FYI: The reason this happens;
is because you're using a read-modify-write type command with Portc.0=1Code:Portc.0 = 1 ‘ lights the first LED Pause 1000 Portc.1 = 1 ‘ the first LED goes dark and the second LED lights!!!!
so when the PortC is read on the 2nd Portc.1=1, Portc.0 is read again, and
it's read as zero, since A/D is enabled, so it goes low on the next port bit
change.
Melanie: What the heck are you doing in Kansas...;o}
Bookmarks