Re: How can I set one loop's frequency as a slave of another loop ?
instead of a case struture. How do you think about the event structure ? Would it be a better idea ?
Re: How can I set one loop's frequency as a slave of another loop ?
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 occurrence ? Or am I wrong, to wait an occurence does not use CPU ?
Re: How can I set one loop's frequency as a slave of another loop ?
The occurence halts all execution until it is set, no CPU load.