Steve,
I'm using ICD2. The picdem2+ came with the ICD2 so I assume they are made to work with each other (or maybe the folks at Microchip have more of a sense of humor than we give them credit for). I did add "Define osc 4" just for good measure.
I commented out the interrupt statements as you suggested and added a goto in the middle of the loop:
if portb0.0 = 0 then goto myint1
Works like a charm.
Put the interrupt back in and ran in debug mode. The animation shows clearly portb.0 going form 1 to 0 when the button is pressed, but intcon.7 stays at 0.
Time for a beer break.
Klaus
Bookmarks