Yet another set of classes supporting cooperative multitasking for the Arduino. Designed for memory-constrained applications. Includes classes for oneshot, fixed and capped rate tasks, as well as pin pulsers and debounced switches. Also includes a "blockable" task, which supports timed sleep, conditional wait, non-nested looping, and timeouts. Times are specified in microseconds, to achieve better than millisecond resolution (depends on processor speed and task work). Does not use interrupt handling, making classes easy to modify and extend.

Documentation for usage and implementation is provided in the .h files of the library. JonbTask.ino demonstrates usage and the various features of the library. Note that the F() macro is used for strings as memory conservation was a primary development constraint.

This project includes all dependent libraries.

Features

  • Arduino library
  • cooperative multitasking
  • repetitive tasks
  • blockable tasks
  • switch debounce
  • sub-millisecond resolution

Project Activity

See All Activity >

Follow jonbtask

jonbtask Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of jonbtask!

Additional Project Details

Registered

2018-09-04