in reply to Call function no more than every 0.1 seconds
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Call function no more than every 0.1 seconds
by Marshall (Canon) on Aug 12, 2020 at 03:18 UTC | |
by jcb (Parson) on Aug 13, 2020 at 01:08 UTC |