by Visual Micro
18. July 2012 08:32
During compilation Arduino sorts (sequences) the sketch files as follows:-
- Main sketch file is always first
- Followed by sort based on alpha char codes
This is a correct example for sketch 'MySketch.ino' :-
- MySketch.ino
- AFile1.ino
- BFile2.ino
- aFile3.ino
- bFile4.ini
The release of visual micro due end of july 2012 applies the above order. Previously releases always ensured the man sketch was first but then incorrectly applied a standard alpha sort which resulted in an incorrect sequence as shown below:-
- MySketch.ino
- AFile1.ino
- aFile2.ino
- BFile3.ino
- bFile4.ini