I needed to use TC1 for input capture, but also analogWrite() and an approximate 1 ms interrupt to poll the user interface (encoder, button).
Some info can be found on
but I am not sure it's up to date. For instance, I find disabling TC2 also disables the
Trying to use TC0 results in an error, as
TIMER0_OVF_vect is already being used ("multiple definition of `__vector_16'").
How can I use the timers (and their interrupts) that are already used for the core?