How to use VS Code to develop Arduino?
You’ve got two great ways to use VS Code for Arduino work:
the official Arduino IDE extension (simple, close to Arduino IDE)
PlatformIO (full project manager, libraries, multiple boards, CI-friendly)
Here’s how to set up both and when to use each...