Use amazingly cheap micro computer: ESP32
About pin
About IDE
You can use the arduino IDE, but the PlatformIO extension in VS Code is very convenient if you prefer using VS Code.
You can use the arduino IDE, but the PlatformIO extension in VS Code is very convenient if you prefer using VS Code.