Quote Originally Posted by HenrikOlsson View Post
Hi,
As long as the HSEROUT statement itself isn't IN an interrupt routine I don't see HOW it can disturb any interrups (as long as you're not using ON INTERRUPT of course but I suspect you're NOT).

But to answer your question, if you can put all your variables after each other, ie in an array, then a simple FOR-LOOP will do but really, I don't see it being any better than HSEROUT but man have I been wrong before :-)

/Henrik.
Hi Henrik,

I use the DT instant interrupts, i've one main loop, one high-speed high priority interrupt (running at 13kHz and doing some calculations) and one low-priority interrupt (running at 100Hz).

The HSEROUT command is in the main loop.

But still, when it sends data at a high rate, the low-priority interrupt is disturbed. I'm running at 2400bps.