how to determine if my pic16f877a ic is broken??


Joined Oct 2, 2009
If the pin is not configured as output, the voltage on the pin can be anything.
If the pin is an output, 0.5V may not be terribly wrong. You have to check the specs for

Do what post #2 says. Try to toggle an output pin.


Joined Apr 24, 2011
I don't see any limiting resistors between the PIC outputs driving the 7 segment displays, meaning you have a very large current into each LED. That will pop the PIC in short order.

Just before it blows the output pins will have the LED on voltage at them, depending on the display something like 1.5 volts.