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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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