instead of a case struture. How do you think about the event structure
? Would it be a better idea ?
Thanks for your answer.
I wanted to not use the wait function because it is not precise (I
think). If I put a 'case structure' in the second loop that waits for
an occurrence, it will be more precise, but the test of the 'case
structure' will use CPU time. Is there a better way to use the
occurrenc
I have 2 loops in parallel. The first runs at 500Hz. The AIread
controls the frequency. How can I set the second one at 100Hz ? It is
very easy to set it with local variable, but really not clean. The
second loop must not use the CPU while waiting the next 100Hz tick. Is
it possible ? I am trying t