unsigned char p; p = 15;p = p % 2;printf("\n\rp = %d", p);//prints p = 1 p = 14;p = p % 2;printf("\n\rp = %d", p);//prints p = 1 haha, love to hear the explanation behind this. tried xc16 v1.24 and v1.25..
↧