PlatformIO Community

Arduino.h missing?

Hello, I see red squiggly lines under #include <Arduino.h>. The project will build but obviously this is not ideal. I have seen a few other posts with similar issues but no real resolutions were provided. Any idea where to start with troubleshooting this? Thank you.

What’s in your `platformio.ini’?

i.e. for a Arduino Uno it would look something like…

[env:uno]
platform = atmelavr
board = uno
framework = arduino

Sounds like my issue, which was solved by deleting the .vscode directory in the project folder and restarting vscode.

2 Likes

I have the same problem.