Could you please point me to the documentation/instructions for including an external file (one I wrote) in an open sketch?
I tryed as in java to do import of a class that I defined in a tab.
Quote from: PatoPato on Jul 13, 2013, 11:45 pmI tryed as in java to do import of a class that I defined in a tab.If you follow conventions for programming in C++ you will have a much better chance for success.
Yes,I need to find the Sketch->Add INO file, menu option.It seems to be missing.'Add new ino file', 'new ino file' ?.
I believe beginners should use Atmel Studio 6, before moving onto something as complex as the arduino environment.
What kind of file?Typically, one creates extra .ino files to contain functions that the sketch calls. All .ino files in the sketch directory are opened in separate tabs when the sketch is opened, and are all combined into one .cpp file for compilation.You can also create header files (.h) and #include them in a sketch. Then, you create a correspondingly named .cpp file in which the functions defined in the header file (if there are any) are implemented.
The IDE takes care of it at the moment that you include the .h file.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16