Dip switch SW2 is connected between the SPI communication BUS of the microcontroller ... Just press it and release it. As you can see from the wiring diagram, the power supply consists of three stages ...
The instantiated switch state is updated independently by a standard FreeRTOS software timer (or ESP-IDF FreeRTOS in this case), that keeps the state of the objects created constantly refreshed ...
However, having to regularly open a text editor to make changes can be a pain. This colorful little DIP switch dongle from [Glen Aikins] makes for a fun alternative solution. Do want. The build is ...