Super lightweight task scheduler aimed at 8 bit AVR ATmega micro-controllers (perfect for Arduino), although it can easily be used on other hardware like Microchip PIC.

It uses simple round-robin scheduling so no priority levels can be set. You choose the time interval by calling dispatchTick(), this is usually in a timer interrupt.

Range for number of tasks: 0 to 255 tasks
Range for delay: 0 to 65535 ticks

Each task only uses 5 byte of RAM. The one task LED blink example only uses 5 bytes of RAM and 476 bytes of program memory for the whole program.

Project Samples

Project Activity

See All Activity >

Follow microDispatch

microDispatch Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of microDispatch!

Additional Project Details

Intended Audience

Education, Engineering, Information Technology, Science/Research

Programming Language

C

Related Categories

C Software Development Software, C System Software, C Embedded Systems Software

Registered

2013-07-02