pic18f2550 pin RB5 issue
I am having trouble with making signal (high voltage) on pin RB5. I disabled LVP, grounded this pin through 10kohm resistor, and it's still not working. I get 0.0-0.2V from this pin no matter what.
If I remove resistor and touch RB5 pin with some metal or anything, it will shut down the PIC or reset it.
Also, is it normal to get only 2.27V on pin RA6/OSC2 even when OSC2 is disabled? What am I doing wrong?