My problem is, weird.
A code like this:
Code:
TRISE = 0;
TRISA = 0;
...
RA0 = 1;
RA1 = 1;
RE1 = 1;
RE0 = 1;
will set RA1 to 1 and RE0 to 1. But RA0 & RE1 to 0.
This dosn't make much sense, since what I said to the PIC (this one is a 16f877a) is to set first RA0 to 1, then RA1 to 1, then RE1 to 1 and finally RE0 to 1, making all RA0, RA1, RE0, RE1 equal to 1.
Any helo will be aprecieted.