Opened this issue 3 years ago · 1 comments
and
I dont understand why i get this error. In the Arduino IDE there is no problem but in Visual Studio Code cant compile the code...
Thank you very much
i found fix for it
#if ARDUINO_ARCH_RP2040 #ifndef _MBED_WRAP_H_ #include <mbed.h> #endif #else #ifndef Arduino_h #include <Arduino.h> #endif #endif
im using it with the RP2040 (reason for mbed) but all i had to do is reinclude the arduino/mbed .h file in the cpp file