The simple solution:
What to do with "missed" samples is up to you. The obvious choices are to start the next sample immediately and to calculate the next desired sampling time and resume on an interval boundary. Which of these you want depends on what you are doing with the data.
In reply to Re: Call function no more than every 0.1 seconds
by jcb
in thread Call function no more than every 0.1 seconds
by zapoi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |