Quote Originally Posted by Melanie
There is no problem with weak pull-ups on switches...

How are you enabling them?

Apart from OPTION_REG you also have to set them in the WPUA register in this chip.
Hi Melanie,

(this is a 16F676)
OPTION_REG.7 = 0 ' ENABLE WEAK PULLUPS
WPUA = 255 ' ALL PULLUPS ON

Since a fresh chip works flawlessly, I do not think the issue is to do with the code or configuration. From your mail and the earlier ones, I gather that this is an extremely rare happenning. Just how rare is my worry; often enough to justify external pullups?

Anand