Hi,
Interrupts seem to be Valid ( Why use another name for INTCON reg ???)
... I will try the bread board now ...
Alain
Hi,
Interrupts seem to be Valid ( Why use another name for INTCON reg ???)
... I will try the bread board now ...
Alain
Last edited by Acetronics2; - 17th October 2009 at 15:55.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
This was because I could not get the interrupts to work at first. I didn't know if there was a problem to use INTCON and so I changed it. I did the same with OPTION....it was just desperation I spent hours on this!
The problem appeared to be that I was using MOVFW to write to INTCON. Once I change to BCF/BSF everything worked!
Alain
I took your advice and increased the TX diode current. At the same time I tried a weak pull up on the output of the optical encoder. This seems to have done the trick and the interrupt is now being triggered.
Thanks very much to you and Jerson for taking the time to help me.
I will stay on the forum, it's a very useful resource.
Danny
Bookmarks