the code is clean and running in proteus, but when i program it in my pic16f877a its not functioning..doesn't even output logic 1.. vdd/vss are connected correctly..but no reading from the output ports.. I can read/write in my pic..i think its not broken..
I even tested it to output 2 ports.. still no output..can't even lit an LED.. what could be possible wrong? Does it have to do with the CONFIG Osc? I'm using a 4MHz xtal osc..
Here's the CONFIG:
Should i replace it with:
I'll consult it to you guys before i do anything..to avoid any damages to the my pic.. Thank you!!
Here's the CONFIG:
Rich (BB code):
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _HS_OSC
Rich (BB code):
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _XT_OSC