I want to know how much time has elapsed since a certain event, and I do not want to use any external timers. It seems logical to reset an internal timer whenever the event occurs (using an interrupt). Unfortunately, as far as I can tell,
micros() cannot be manually reset. Obviously, I could save a time stamp whenever the event occurs; however, I want to avoid overflow problems (
micros() will overflow every ~71 minutes, and
millis() will overflow every ~50 days).
Is there a way to manually reset these built-in counters? If not, how can I manage the overflow?