Quote Originally Posted by rocket_troy View Post
I don't understand how you seem to have disabled the PPS for pins B0 and B5 without allocating something to them. Don't they need something allocated to them whether it's a port access or peripheral whatever if you plan to use the pins?

Apologies, I'm still learning this stuff,

Troy
(bottom of p. 239 of datasheet 16F18877)

Note: When RxyPPS = 0x00, port pin Rxy output value is controlled by the respective LATxy bit.
Took me a while to notice this line.