I am restructuring my multifile program.
I have x.ino with #includes to make the i2c LCD functional and I have #include(d) local Main.h.
In Main.h I have #include(d) Arduino.h and have int main(void) function.
There are no other files included.
The 1.6.5 compiler keeps using “previously compiled” files and complaining about missing files.
( Detailed “error” output can be posted if somebody is seriously interested ).
This multifile structure works fine with previous x.ino when I used many includes, now all I want is the I2C to work and there are NO references / links to any other files at this point.
I am about to remove all compiler build temp files thus forcing the compiler to rebuild all.
Before I do that I would like to hear from someone who has an experience with similar problem to confirm that I am on the right track.
Better to remain silent and be thought a fool than to speak out and remove all doubt.