MCU: PIC16F876A
HW : EasyPic4
Problem: PortC pin 3 ,4 and 5 can not output anything
Test Code:
Code: Select all
main:
TrisB = 0x00 ' Set port B to digital input
TrisC = 0xFF ' Set Port C to digital output
While True
PortB = PortC ' Copy the status of portC to portB
Wend
I have tested the code over three MCUs... are my MCUs having problem?
in the datasheet never found any relevant information regarding this issue
Thank you for your kind help
Best Regards
Razi