Это пример кода arduino с IntelliSense с настроенными расположениями Arduino IDE для VS Code
Шаги:
- Установить VS Code
- Установить Arduino IDE
- Установить плагин arduino-vscode
- Клонировать этот репозиторий
- Работай
P.S IntelliSense не сразу заработает, видимо импортирует все необходимые файлы.