Learn how to solder and debounce a switch.
Using an Arduino to toggle something like an LED light is simple in theory, but buttons don't always behave the way we think.
Used Debouncing to remove the noise when switching a button, and implement a stable Toggle On/Off Switch - quick and easy.
Characterizing button switching behavior is an important first step for developing effective debounce algorithms in your systems.
A lightweight C library for building and executing finite state machines with minimal overhead tested on ESP32 and STM32 devices.