MathGeek
Member level 3
portb latb
What good is LATA, LATB, etc for PORTA, PORTB?
They seems to hold values for PORTA and B, etc, but what is the use?
Added after 1 minutes:
Also, I realized for my 30F4011 simulation in MPLAB, some how the value of PORTB never changes even if I write
PORTB = 0xFF;
Only the data latch changes, ie LATB becomes 0xFF.
Why is the PORTB not changing?
What good is LATA, LATB, etc for PORTA, PORTB?
They seems to hold values for PORTA and B, etc, but what is the use?
Added after 1 minutes:
Also, I realized for my 30F4011 simulation in MPLAB, some how the value of PORTB never changes even if I write
PORTB = 0xFF;
Only the data latch changes, ie LATB becomes 0xFF.
Why is the PORTB not changing?