Sorry about that, I'm using a PIC18F252. I have just taken the includes out, as they aren't neccessary to check if there are any problems. I could write it in ASM but i'd still have the same problem, as I'm not sure if i've initialised everything properly, if i've got the correct bits on/off, etc. -Peter ----- Original Message ----- From: "Jan-Erik Soderholm" To: Sent: Sunday, May 09, 2004 10:28 PM Subject: Re: [PIC:] CCP Module Problems - Interrupt > Peter McNulty wrote : > > > I can't get the ccp1 capture interrupt working at all... > > Hi. > I'm not sure I'm missing something, but I can't find any > reference to what PIC you are using !? Neither in your > text or in the code example. > > And is this realy a working (well, with "working" I mean > showing your interrupt problems, of course) code example ? > I havn't written much (anything) in JAL, but the code examples > I have seen, all had a few "include" at the beginning... > > It's better to strip your code down to the smallest "working" > code snippet that still shows the problem. And many times > the actual problem shows in this process. :-) > > And have you tryed to write a short ASM routine that does > the same thing ? It's probaby a bit easier to get help for > a ASM routine then a JAL routine... > > Jan-Erik. > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body