Please see the attached code.
It has two parts, one to vary the content of a variable using a single button and second an interrupt run to output RB0 based on the variable content.
When it is simed on MPLAB, it is quite OK. But when it is run on the chip, it does not work.
(with WDT switched off)
However the two parts when compiled as separate files to check the code, they function well on the chip.
Please help me solve the prob
Thanks
Bookmarks