Arduino task scheduler

Posted on Tuesday, July 24th, 2012 in Arduino by DP

Brad shared an Arduino library he wrote schedules when specific functions will be executed. The code is open source and available on github.

This library allows you to create a schedule queue of functions to be executed at specified times, on specified intervals.  For example, say you’re trying to log some sensor data and update a display in the same program. With the task scheduler, you can simply write a function to gather sensor data, write a function to update the display, add them to your queue, and let the library handle the rest.

This entry was posted on Tuesday, July 24th, 2012 at 11:00 am and is filed under Arduino. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “Arduino task scheduler”

  1. Gamin Inganela says:

    Terrific! I could find so much use for this in my Xbee-based, SD-writing, Input-polling, LCD-displaying project.

  2. Drone says:

    Umm… Aren’t there a bunch of other scheduler/RTOS’s for Atemega and AVR parts out there already?


    Also, a real “Scheduler” not only allows a-priori scheduling (what this seems to do), but services real time task requests, often within some specified latency period.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments