43 mx = max(mx, cur - last);
44 mn = min(mn, cur - last);
46 return (
float)(cur - from) / (
float)n;
uint32_t getMax()
Show maximal length of past loop in [ms].
float lap()
Show average length of past loops and count up the counter.
void start()
Start monitoring loop length by resetting the counter.
uint32_t getMin()
Show minimal length of past loop in [ms].