Hi,
I been using arduino for almost 5 days now. I am used to vscode so I’d like to use for arduino development. PlatformIO looks really great so far.
For my task I need to use IRemote library, so found one in libraries and installed it. I got confirmation about successful installation.
I copy these two line from example in the library: #include <IRremoteESP8266.h> #include <IRsend.h>
then I try to build, and it fails with 155 errors.
I could only find old threads with similar problems but nothing exactly the same.
Since an Mega 2560 has an ATMega2560 chip on it, which PlatformIO counts in the Atmel AVR family (notice the platform = atmelavr line in the platformio.ini). Which is only listed in the IRremote lib.