They are both the same number.Code:%000000010 %00000010
Google RA1 Digital, and you can see the pain!
if portA are all digital inputs, what value do you get reading portA into a byte?
What happens if you do this:Code:byte = PORTA;
So that portA isn't powering an LED while A1 is being read?Code:HIGH PORTA.0 PAUSE 250 LOW PORTA.0 PAUSE 250




Bookmarks