Arduino's great, but how in the world do you do two (or more) things at once on separate intervals? You need protothreading!
How to blink multiple LEDs at different rates on Arduino-like boards using threads in just a few lines of code... the magic of Zerynth!
Using the ThreadHandler library to run 57 hard real-time threads on an Arduino Uno with only 2048 bytes of memory.
Here is a guest project, where I take you through a Wokwi embedded systems Simulator project - an example of controlling 5 Servo motors
Free and easy-to-use Real-Time Multi-Tasking extension for Arduino IDE based on ERIKA Real-Time Operating System
In this tutorial, we'll see multithreading on microcontrollers in Python on Zerynth.