: Debug your logic before buying components.
Simulate the project by clicking on "Simulation" -> "Run". Use the Proteus debugging tools to test and troubleshoot your project. esp32 library proteus