mmm, i don't know but you really have a PIC with a faulty internal pull-up?
If you add a external pull-up it works?
Is there any chance somewhere in your code some pin change from input to output? in this case it could disable some internal pull-up but...
Maybe some electrostatic discharge burned it? but if so... i guess it should go deeper than only the internal weak pull-up no? Strange...
Bookmarks