aboutsummaryrefslogtreecommitdiff
path: root/examples/Scheduler_example3/Scheduler_example3.ino
AgeCommit message (Collapse)Author
2015-12-23Version 2.0.0 support for layered task prioritizationv2.0.0Anatoli Arkhipenko
* _TASK_PRIORITY - support for layered task prioritization
2015-11-14Version 1.8.3 number of addtions and improvementsv1.8.3Anatoli Arkhipenko
* support for task activation on a status request with arbitrary interval and number of iterations (0 and 1 are still default values) * implement waitForDelayed() method to allow task activation on the status request completion delayed for one current interval * added callback methods prototypes to all examples for Arduino IDE 1.6.6 compatibility * added several constants to be used as task parameters for readability (e.g, TASK_FOREVER, TASK_SECOND, etc.) * significant optimization of the scheduler's execute loop, including millis() rollover fix option
2015-10-22Support for taask IDs and Control Pointsv1.8.1Anatoli Arkhipenko
* Automatically and manually assigned task IDs * Manually assigned Control Points within task's callback function * Updated existing examples * New example sketches
2015-10-13TaskScheduler v1.7.0 with the following changes:Anatoli Arkhipenko
* introduced callback run counter - callback functions can branch on the iteration number * enableIfNot() - enable a task only if it is not already enabled. Returns true if was already enabled, false if was disabled * disable() returns previous enable state (true if was enabled, false if was already disabled) * introduced callback functions "on enable" and "on disable". On enable runs every time enable is called, on disable runs only if task was enabled * new Task method: forceNextIteration() - makes next iteration happen immediately during the next pass regardless how much time is left