However, pin_RB4 doesn't interrupt. I have problems with " enable_interrupts(GLOBAL);" function because neither of my inputs work well (when I don't use this function my imputs work well but PIN_RB4 doesn't interrupt). I have replaced this function for using bit GIE but it doesn't interrupt.
What have I do wrong?
Thank you
PD: I have tried to interrupt the timer 1 and I can't do it, either.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue May 18, 2010 1:32 pm
Post your compiler version. This is a new series of PICs for CCS and
we (forum members) know there have been bugs about it in recent
versions. I'll compare the .LST file code in your version to the latest
version.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum