boncker
Member level 2
I intend to use the PORTE of the PIC16F877A as digital outputs. I did the C code (using CCS compiler) but it was not possible to put the byte I want in the PORTE using the following code:
var=2;
output_E(var);
So, I would have in the PORTE the byte 0x02 (or any other byte), but it is always showing 0x00. I already did the setups in the TRIS registers, no analogs ports, etc.
Anyone can help me on this problem?
Thanks!
var=2;
output_E(var);
So, I would have in the PORTE the byte 0x02 (or any other byte), but it is always showing 0x00. I already did the setups in the TRIS registers, no analogs ports, etc.
Anyone can help me on this problem?
Thanks!