There is a TimerOne library.
oops! why is it that sometimes I look for something which is right in front of my eyes and I don't find it! thank you. only one thing, I guess it's the same, but, now that I look with more attention, I find a MsTimer2 library; where is TimerOne? is there a difference?
You could avoid the millis() jumping issue by using micros(). millis() jumps periodically because the clock ticks 1024 times then millis increments by 1. After 41 to 42 iterations, the extra 24 ticks add up to a whole millisecond.
this is really weird, 1 ms every 41-42 is quite a big error! so you say micros() is precise?