I find it rather strange that nobody ever suggests FlexiTimer2, which is MsTimer2 with a parameter for the interval.
FlexiTimer2::set(1, 1.0/4, isr);
will set it to once every quarter-second.
I find it rather strange that nobody ever suggests FlexiTimer2, which is MsTimer2 with a parameter for the interval.
FlexiTimer2::set(1, 1.0/4, isr);
will set it to once every quarter-second.