I am thinking of checking the interrupt flag without actually implementing an interrupt to do a conditional statement. Am I looking in the wrong places? I looked through the PBP manual and couldn't find anything.
I am thinking of checking the interrupt flag without actually implementing an interrupt to do a conditional statement. Am I looking in the wrong places? I looked through the PBP manual and couldn't find anything.
Look in the datasheet for interrupt flag bits.
Hi RAMZI
Look at page 183 , 4rth paragraph, last two lines.
I had the same problem, and this solved it for me.
For example to find if timer overflowed in a F84A
If INTCON.2=1 then .......
Now I have a similar q:
How do i find if the timer overflowed in a 10F206?
LSB
>How do i find if the timer overflowed in a 10F206?
There aren't any flag bits for timer0 overflow on this one. Your only option would be to sit there watching/reading it.
Thanks Bruce
I was afraid that this was the only way, but i was hoping for something faster.
LSB
Yes - a timer overflow flag would have been a nice feature, but they're still pretty nifty "little" gadgets. Should come in handy for discreet logic replacement.
Just don't sneeze when you're working with them....;o]
Bookmarks