What are the advantages if using multiple .inos?

Understanding the language, error messages, etc.

What are the advantages if using multiple .inos?

Postby Sushi » Sun Nov 02, 2014 8:23 pm

I've noticed that certain games like Rodot's crabator use multiple .inos before compiling. What's the advantage of this? Is it required for certain things, or does it just clean up the code?
User avatar
Sushi
 
Posts: 52
Joined: Tue Oct 07, 2014 12:12 am

Re: What are the advantages if using multiple .inos?

Postby ajsb113 » Mon Nov 03, 2014 3:12 pm

In my experience with this, I've only used it for organization. I don't believe there are any other benefits to having separate .ino's.
User avatar
ajsb113
 
Posts: 45
Joined: Tue Jun 24, 2014 4:47 am
Location: Illinois, United States

Re: What are the advantages if using multiple .inos?

Postby Skyrunner65 » Tue Nov 04, 2014 8:39 pm

I find it great for organization, such as having sprites on one .ino, sound on another, and so on.
However, any assets from other .inos will have to be called on the main .ino .
User avatar
Skyrunner65
 
Posts: 371
Joined: Thu Mar 20, 2014 5:37 pm
Location: NC,USA

Re: What are the advantages if using multiple .inos?

Postby quosa » Sun Dec 21, 2014 11:12 pm

I have so issues when adding tab to the arduino ide.

Have someone a clear and simple way to add a new file and splitt the code?

I have red somewhere that the compiler is compiling the files in alphabetical order? Is that true?
quosa
 
Posts: 10
Joined: Thu Nov 13, 2014 12:47 pm


Return to Programming Questions

Who is online

Users browsing this forum: No registered users and 3 guests