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

You Might Also Like
Save hundreds of developer hours with components built for SaaS applications. Icon
Save hundreds of developer hours with components built for SaaS applications.

The #1 Embedded Analytics Solution for SaaS Teams.

Whether you want full self-service analytics or simpler multi-tenant security, Qrvey’s embeddable components and scalable data management remove the guess work.
Try Developer Playground
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