[SOLVED] How to compile/run Arduino on platformio ?


I'm getting this constant error, tried to find a solution on the web but couldn't find one.

This is my screenshot:

I figured out how to deal with it.

  1. Install PlatformIO.
  2. Install Atmel megaAVR & Atmel AVR platforms.
  3. Start a new PlatformIO project.
  4. Choose Build which is the correct symbol at the left bottom of the program UI.

It's what I want, I didn't care much for Upload. I just want to experience the programming with VS code.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.