As in chat box,
http://www.picbasic.co.uk/forum/showthread.php?t=19638
Under 18 bit link.
Then DOWNLOAD link at very top.
Links are there.
Robert
As in chat box,
http://www.picbasic.co.uk/forum/showthread.php?t=19638
Under 18 bit link.
Then DOWNLOAD link at very top.
Links are there.
Robert
Thanks - just what I needed! Now the fun starts...
Thanks a lot, Robert. I have installed them and they do exactly what I needed. Thanks Darrel...
Now I have a question. I added the RTCC interrupt to the DT-INTS-18 coding by adding a define and the "ifdef" statement (using an 18F67K90). I noticed that after I return from my RTCC_INT handler, the RTCCIF flag bit is cleared, apparently by the INT_RETURN macro. Did I leave out more changes to the DT-INTS-18 code, or are all interrupt flags cleared by INT_RETURN? My work around was to create a copy of RTCCIF and poll it instead.
Clock_Int: 'RTCC ISR
RTCC_IF = 1 'set the interrupt flag copy because macro INT_RETURN clears RTCCIF
@ INT_RETURN
Howard
Howard, you must be setting the reset flag to TRUE by entering YES in the interrupt declaration ResetFlag field like this:
ASM
INT_LIST macro ;IntSource Label Type ResetFlag
INT_Handler IC3DRIF_INT, _InputSignal, ASM, yes
endm
INT_CREATE
ENDASM
Dave Purola,
N8NTA
EN82fn
Hello
Where can I find the homepage that were on these two links?
And where do I download the latest DT_INTS?
DT_INTS-14 (12F-16F)
http://darreltaylor.com/DT_INTS-14/intro.html
DT_INTS-18 (18F)
http://darreltaylor.com/DT_INTS-18/home.html
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
I'm working on a project using 18LF13K22. I need to use RAB Change Interrupt with DT Ints18. I made changes on DT_INTS-18.bas below but i couldn't succeed. Any suggestion?
.........Code:#define RABC_INT INTCON, RABIF ;-- RAB Port Change
Thanks..Code:ifdef RABIF INT_Source INTCON,RABIF, INTCON, RABIE,INTCON2,RABIP endif
I had to do the same thing with the PIC18F14K50.
Our entries look similar except your label is RABC_INT.
andCode:#define RAB_INT INTCON, RABIF ;-- RAB Port Change, Added 3/15/14 for PIC18F14K50
Could it be you're not enabling it with:Code:ifdef RABIF ;----{ RAB Port Change Interrupt }-----------[INTCON, RABIF]--- (Added 3/15/14 for PIC18F14K50 INT_Source INTCON,RABIF, INTCON,RABIE, INTCON2,RABIP endif
Code:INT_ENABLE RABC_INT ; Enable IOC
Louie
Bookmarks