I would actually check...
1. That you have DISABLED the ANALOG ADC on those pins...
ANSEL=%00000000
2. That you have DISABLED the COMPARATORS on those pins...
CMCON0=%00000111
3. That you have set TRISIO to INPUT on those pins...
TRISIO=%00001110
4. And that you have enabled the Weak Pull-UP's properly...
WPU=%00000110
OPTION_REG.7=0 ' <<< Bet you forgot this one!!!!
And now you can do your Buttons from this point onwards... but just in case, I'd give it a few mS timeout first...
Bookmarks