luxornet
- 4th July 2014, 12:31
Hi!
Please help me to configure RA3 and RA4 as digital out (PIC16F876A). On Proteus simulator all are working fine but not in real world.
I know that RA$ is Digital I/O – Open-drain when configured as output.
I have used:
TRISA = %00000001
ADCON1 = %10001110
cmcon = %00000111
Thank you very much.
PIC16F876A Datasheet (http://ww1.microchip.com/downloads/en/DeviceDoc/39582b.pdf)
Please help me to configure RA3 and RA4 as digital out (PIC16F876A). On Proteus simulator all are working fine but not in real world.
I know that RA$ is Digital I/O – Open-drain when configured as output.
I have used:
TRISA = %00000001
ADCON1 = %10001110
cmcon = %00000111
Thank you very much.
PIC16F876A Datasheet (http://ww1.microchip.com/downloads/en/DeviceDoc/39582b.pdf)