Multi file arduino sketch

The Arduino IDE automatically includes all the .ino files. It starts with the .ino with the project name and then takes the others in alphabetical order. This means that a file can refer to things in in any file that was merged before it but a file cannot refer to stuff in a file that is merged after it.

...R