Greetings;
I wasn't quite sure, whether to post this in General Guidance or Programming.
Here goes:
As this project grew in size and I'm growing more comfortable with the IDE and C in general, I started using Tabs to make things easier for me. I don't yet feel comfortable enough with classes (as someone in the forum kindly pointed out).
I initially started with regular tab names, then started adding numerals in front, to have a fixed compile sequence.
Then, after having read somewhere, I started using TabName.h, with a #include "TabName.h" in the main program Tab.
These two notations seem to behave differently, and I opted to use the x.h as the norm and was trying to migrate the regular tabs to TabName.h.
Not so fast Grasshopper, said the IDE.
When I tried to move the TFT tab, it says that the instance of tft is not defined...
When I tried to move the GetUtpTime, it says that Udp is now called EthernetUdp
When I tried .... etc...
I'm making sure I define all the global variables on the main page, call instances on the main page, essentially only keep the functions on the other TABS.
I tried putting numerals in front, to force a compile sequence, to no avail...
Can someone please enlighten me on the topic, and maybe point me in the direction of a document?
As mentioned before, I don't yet feel comfortable with classes.
the #include's are // at the beginning of the main code, and the tab names are temporarily back to normal names, without the .h extension.
Cheers
Pump_Room_Server_functions.zip (11.2 KB)