Have you ever wondered how speed guns measure the speed of moving vehicles or how an athlete's sprint speed is recorded? Normally these speed sensors work with radar or laser technology to bounce back ...
You mostly do not need to worry about pitfalls of concurrent processing (races, deadlocks, livelocks, resource sharing, etc.). The fact of cooperative processing takes care of such issues by design.
Contents presented in the Microcontrollers Laboratory Course; Microcontrollers used: Arduino UNO R3 & DOIT ESP32 DEVKIT V1 - CSE Department, Shiraz University, Spring 2025.