Re: Questions on Darrel's Instant Interrupts

Originally Posted by
richard
what clock speed are you using ? the chip can do 32mhz that helps too
I'm using 16MHz, but I will try 32MHz right away like you suggested. Also, I will make my interrupt routine as short as possible.

Originally Posted by
richard
isn't pir1.1=0 resetting the tmr2 int flag
and
_Handler TMR2_INT, _ClockCounter, PBP, yes
the yes on the end resets the flag too
its a bit redundant if time is that critical
Hmm, I wasn't sure what that yes was for
.
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Bookmarks