This is an simple challange I've taken in an IoT class on Youtube. This repository contains both the code and video of an semaphore implementation using only arduino in the tinkercad simulator.
2024-04-06-08-54-55.mp4
After that I've implemented the physical solution using an ESP32 microcontroller.