without(!) any blank line before the var declaration.
This generates an error: "'sub1' was not declared in this scope"
Why this?
If I:
++ change the block comment in the 1. .ino-file to "// comment"
++ OR insert a blank line in the 2. ino-file before the declaration of the byte variable var
++ OR delete the declaration of the byte variable var (it is not used in the sketch)
++ OR declare the sub1() before setup()
++ OR put an line comment right after the var declaration
++ OR ....
the error disappears!(?!?!?)
It does NOT disappear with blank line(s) after the comment-block in the 1. .ino-file.