Hi All,

I need to repeatedly call a function I've written, every one second or may
be even less. Anyway, I tried calling

SysTaskDelay(nTicks);

followed by:

EvtAddEventToQueue(&event);

and then calling my function whenever 'event' is triggered, starting all
over again with SysTaskDelay and EvtAddEventToQueue...

So far so good, the problem is that I'm not allowed to add any other events
to the queue. That is to say, I can't even push a button or close my
application. Every time my function is called, it calls itself again
(thorugh the Event Manager), creating a loop that won't take any other
events in it.

Anyway, I'm stuck... Please help me out.

Nicolas Zeitlin


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to