IntervalTimer priorities

Status
Not open for further replies.

rbrockman

Active member
It you use version 1.20-rc1, IntervalTimer has a new priority() function. Lower numbers are higher priority, so if you use mytimer.priority(0); it will have the highest priority and never get delayed by any other interrupts.

I have a few questions about the new priority() function of IntervalTimer.

1) What is the default priority of the timers?
2) What is the range which can be used?
3) Can the priority be set anytime after the IntervalTimer is instantiated and before mytimer.begin()?

Thanks!
 
Status
Not open for further replies.
Back
Top