Closed v11 closed 3 years ago
Just ignore those errors, its only intellisense error. You can also try to add #include
header for std::string, i think it will be:
#include <string>
Thanks for the response. I understand that this is not a problem on your side. But it does not feel good to have this errors. :-)
I tried #include
I wait for some feedback from the guys at vscode-arduino. If you have additional info, why it is not working, i would be happy to know and forward it to them. But they are so far, not very responsive.
Have a good day!
#include <string>
without h extension.
It is for sure matter of proper configuration in vs code.
One more thing you can try is to add:
#include "Arduino.h"
Ok it is working now with #include
It only works when you have #include \
And thank you very much.
Hello
I am using the vscode-arduino extension now for more than one year. Except with a few issues at beginning, i usually don't have any problem to work with my ESP32 and some other libraries.
Now, i started to work with bluetooth.
My code compiles and i could successfully test it. But: I get a lot of errors in vscode. See: Screenshot
This is my code: https://github.com/espressif/arduino-esp32/blob/master/libraries/BLE/examples/BLE_write/BLE_write.ino
Can somebody please help me? I really want to ged rid of this errors.
Thank you, Lukas
PS: I also asked in the vscode-arduino repo for some help.
This is my c_cpp_properties.json
My ardunio.json
My settings.json