Thanks Darrel. Besides the wsave3 thing I had to commend out, yes it helped.
Now is fine.
About the disable interrupt, will the timer be enabled upon @ INT_RETURN ?
Ioannis
Thanks Darrel. Besides the wsave3 thing I had to commend out, yes it helped.
Now is fine.
About the disable interrupt, will the timer be enabled upon @ INT_RETURN ?
Ioannis
No it will not be re-enabled automatically.
And you won't get any more interrupts from the timer untill there's an @ INT_ENABLE TMR0_INT somewhere else in the program.
The Timer will continue to run and overflow, so the next time you Enable the timer ints ... make sure you clear the flag first or it will immediately jump into an unwanted INT.
@ INT_CLEAR TMR0_INT
<br>
DT
OK. Better is to use Tmr1 but not available at the moment.
Thank you very much.
Ioannis
I still had some strange anomalies going on...
reading GPIO.2 to a testvariable (Testbit VAR BIT BANK0)
just before the @ INT_RETURN seems to solve those...
Hey Darrel,
Have you had a chance to try any of the new enhanced core pics yet ?
I have a few 16f1936 chips on order and would love to know if you have had a chance to play with DT_INT on them yet.
bill
Did you order them in the QFN package?
Apparently the SOIC's won't be available from Microchip till November
I think the only thing you can get in a DIP package so far is the 1934, but they're usually out of stock on those.
I have some on order too, have no idea when I'll get them.
Consequently, DT_INTS will not work with the "E" (F1) chips.
<br>
DT
Got 16f1936 and 16f1937 in DIP and some 16f1936 in SOIC due to arrive with UPS today.
Ordered them last week from microchip direct.
Want me to send you a couple ?
Bill.
Ohhhh, that's great news.
And thanks for the offer.
I should have looked at Microchip Direct more often.
There's all kinds of them now.
They are on order.
Supposedly shipping tomorrow.
Thanks for the reminder Bill!
<br>
DT
Bookmarks