We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: Richard Lowe
Last Updated: 2016-02-25
Package Version: 1.1.0.5
Category: Timers (Real time clock)
Downloaded: 2993 times
Followed by: 6 users
License: MIT license
This is a light Round Robin style task scheduler. You can define the maximum number of tasks and add those tasks to be ran at scheduled intervals. You will need to provide a clock source.
Do you want to subscribe in order to receive notifications regarding "Task Scheduler" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Task Scheduler" changes.
Do you want to report abuse regarding "Task Scheduler".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1439841749_task_scheduler_mikroc_avr.zip [102.99KB] | mikroC PRO for AVR |
|
1439841722_task_scheduler_mikroc_arm.zip [92.12KB] | mikroC PRO for ARM |
|
1439841761_task_scheduler_mikroc_pic.zip [93.01KB] | mikroC PRO for PIC |
|
This version adds some flexibility in your clock source. When initialized, use any clock from 10ms to 1000ms ( must be % 2 ), no 545 values.
Tasks can be run every 1 second up to 45 days.
Also added a stop and start. Some weird behavior could have happened with very fast MCU's where the tasks started counting down before the dispatch was called. This would have rolled the period over making it run 45 days from initialization. When ready, call task_scheduler_start() and that issue is avoided.