I need help to understand what I am getting when I Verify/Compile the same 'Code' using different versions of IDE.
i)
ii)IDE v1.0.6
Binary sketch size: 25,242 bytes (of a 30,720 byte maximum)
Even if I add the Global Variables reported in v1.8.9 onto the Sketch Size I still do not get the same TOTAL BYTES that v1.0.6 reports. In any case that is a saving of 4524 bytes ( approx 15% ), which with the size of 'prog' I will have is a big saving.IDE v1.8.9
Sketch uses 20718 bytes (67%) of program storage space. Maximum is 30720 bytes.
Global variables use 1393 bytes (68%) of dynamic memory, leaving 655 bytes for local variables. Maximum is 2048 bytes.
So ;
Q1 - WHY? - Does v1.8.9 use 'Compression' or a different Compiler?
My next question may just be something I am simply missing somewhere in 'my' Logic.
As you know I use/attach a separate file to my sketch 'Own_Data.h'. When I Verify/Compile with v1.0.6 the file gets 'included'. When I verify/Compile with v1.8.9 my file is IGNORED - I know this as the sketch will not run/display info that it should. I will add there is no '.cpp' file to my own .h file, as all the work is done in the .h file.
So:
Q2 - Does any IDE after v1.0.6 rely on .cpp file to get included ( eg #include "foo.h" -> foo.cpp )?
Regards S.