Using this code as an example:
Code: Select all
main ()
{
PORTC = 0xAA;
TRISC = 0;
PCL += 1;
PORTC = 0xFF;
}
Where as if run on the PIC it will execute the last statement and fully light up PORTC.
#1 Post by gambrose » 25 May 2005 23:40
Code: Select all
main ()
{
PORTC = 0xAA;
TRISC = 0;
PCL += 1;
PORTC = 0xFF;
}
#4 Post by gambrose » 26 May 2005 13:26