I working with 32 leds connected to 32 port pins. LEDs toggle according to the requirment.
For 15th pin of the MC (RB5/PGM), I am not able to use this.
I have probed at pin, even if I program the pin to be high it doesnt show any voltage and LED doesnt glow.
How can it be made digital i/O pin
23.9 Single-Supply ICSP Programming
The LVP Configuration bit enables Single-Supply ICSP
Programming (formerly known as Low-Voltage ICSP
Programming or LVP). When Single-Supply Program-
ming is enabled, the microcontroller can be programmed
without requiring high voltage being applied to the
MCLR/VPP/RE3 pin, but the RB5/KBI1/PGM pin is then
dedicated to controlling Program mode entry and is not
available as a general purpose I/O