Open nancio opened 3 years ago
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
and
and
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