Arduino-Preemptive-RTOS-Demo
v.redd.it·12h·
Discuss: r/embedded
Flag this post
Arduino-Preemptive-RTOS-Demo

This project shows how to run many tasks on an Arduino at the same time using a small custom Real-Time Operating System (RTOS). Normally, Arduino runs one task after another, but this project lets tasks run almost simultaneously by quickly switching between them.

It runs three tasks:

Detects objects with an ultrasonic sensor and switches on an LED fast (highe...

Similar Posts

Loading similar posts...