Multi file arduino sketch

Robin2:
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

Yes but I am trying to ask the origin of a new .ino in the first place. Can you answer this: You have one main .ino file. Now you want an extra file which has some functions.

  1. .h/cpp

or

  1. another .ino