To change this license header, choose License Headers in Project Properties.
Copyright (c) 2017 bloc97
[...]I have not looked at this library but if it uses more MCU cycles than doing the same thing using millis() as in Blink Without Delay I would find it hard to see any value.
But maybe I misunderstand what you mean by EDF....R
In EDF, the scheduler should predict that the next run of the low priority task will cause the high priority task to be late, so it will not run the task, causing that task to starve. (Which is not ideal in all cases, but if the programmer defined a task to be time critical the scheduler only does what the programmer said)
40ns seems unlikely - that is only 2.46 Atmega 328 clock cycles. Even 98ns is only 6 clock cycles....R
40ns is 0.46 cycles.98ns is 1.57 cycles.