Timer Interrupt?
potatohead
Posts: 10,261
in Propeller 2
Right now, I'm sifting through our threads to find the interrupt discussion. Thought I bookmarked it, but apparently didn't.
Anyone testing this?
I'm starting to work on an interrupt frame work for a video signal.
Anyone testing this?
I'm starting to work on an interrupt frame work for a video signal.
Comments
Use ADDCNT to set the timer counter. Use WAITCNT to stall (SETQ with WC for timeout) or POLLCNT to poll.
To set the ISR:
mov ijmp1, #isr
setint1 #1
(Edit: corrected SETCNT to ADDCNT.)
Hard to test without some clues to get started
This worked for me:
http://forums.parallax.com/discussion/comment/1338752/#Comment_1338752
That depends on if you are setting the next interval from the beginning of the interrupt or not-the-beginning.
I've got enough to make a signal that should tolerate some pixel experiments now.