Bill,blueroomelectronics said:2. INTCON2.7 should be written as INTCON2.NOTRBPU (same thing better syntax)
I looked for this in the 18F1320 include file and couldn't find it, infact, non of the bit fields are defined. I also just tried it and it doesn't work. Is there something I am missing?
Clearing INTCON2.7 turns on the weak pullup resistors on Port B.