I'm writing a code using millis() in de void loop.
I also want to use interrupts to read out an encoder signal. In the text bellow (copied from this site) there is something about millis() using interrupts and not working while an interrupt is running. I don't understand it. Does it mean I cannot use millis() in the code when I want to use interrupts and vice versa?
"Generally, an ISR should be as short and fast as possible. If your sketch uses multiple ISRs, only one can run at a time, other interrupts will be ignored (turned off) until the current one is finished. as delay() and millis() both rely on interrupts, they will not work while an ISR is running. delayMicroseconds(), which does not rely on interrupts, will work as expected."