After some hours I managed to solve the problem on the Arduino IDE (v2.3.6) and can now get my project to compile there. However, I still can't get the corrected version of my code to compile on Vscode. This is y Platformio.ini:
; PlatformIO...
I have been trying to compile a project for a Teensy 4.1 board. I come from an Arduino background and my project compiles and works fine on an Arduino AVR oard such as a Meg2560 or Uno.
When I try to compile for the Teensy 4.1, I get an...