There is no objection to using millis() or micros() inside an interrupt to record the current time. And then in the next interrupt do it again and work out the interval.
There is no objection to using millis() or micros() inside an interrupt to record the current time. And then in the next interrupt do it again and work out the interval.