absfast123
New Member
I m using 18f97j60 with c18 compiler, I have configured in the start eth led off, then in the main i set trisa=0; then PORTA=255;
When i run this code under debugger and after some time i pause the program and read special function registers values there is
PORTA VALUES ARE 10010000
LATA VALUES ARE 00111111
and I am using leds on ra0, ra1, ra2 all three leds are on means lata value is matcing led status, but in porta reg all leds seems off(wrong value).
What is this and how is this?
Regards,
AB Sami.
When i run this code under debugger and after some time i pause the program and read special function registers values there is
PORTA VALUES ARE 10010000
LATA VALUES ARE 00111111
and I am using leds on ra0, ra1, ra2 all three leds are on means lata value is matcing led status, but in porta reg all leds seems off(wrong value).
What is this and how is this?
Regards,
AB Sami.