Create Declaration / Definition in current file #10642
Replies: 4 comments 6 replies
-
If Arduino.h does not exist in the current workspace, then it should be fixed in our next 1.15.0 release from #10402 . Otherwise, there is no way to force it add the declaration to the current file, but you can add a |
Beta Was this translation helpful? Give feedback.
-
Hi! Thanks for your reply! The path to Arduino.h is I'll try including Best regards. |
Beta Was this translation helpful? Give feedback.
-
It doesn't worked. |
Beta Was this translation helpful? Give feedback.
-
Hi @sean-mcmanus ! I have installed the pre-release 1.15.0 and the problem remains. Best regards. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I would to know how to create function prototype in an Arduino code while using Platformio.
I'm talking about this type of code:
main.cpp
The compiling error for this code is:
So I have always to create manually all functions prototypes on top of my code in this way:
I have tried the new feature of C++ extension but it doesn't works well for this type of code.
The declaration is being placed in Arduino.h header file what is not correct for this case.
Thanks in advance.
Best regards.
Beta Was this translation helpful? Give feedback.
All reactions