Robin2: You post a complete program including your library that does that and I will post a "millis " equivalent some time tomorrow. You also have the option to opt-out of these cookies. This comparison will work well for the first run of the Blinker task, but we'll need to be able to update the "runTime" variable after each on or off cycle of the LED. The Scheduler interface contains two additional functions; begin to set the main task stack size if the default is not sufficient and the second to check available stack. It is irresponsible to recommend malloc et al to beginners, as it takes them down a path fraught with peril and frustration.
nest...