bossredman
Well-known member
My sketch is now getting quite long & to be honest - I'm getting tired of scrolling up & down.
I heard about TABS in teh Arduino & moved a lot of my functions to their own TAB.
This appears to have worked fine (fingers crossed).
But I wanted to move all my variable declarations to a seperate TAB too - but reading up on this suggested it couldnt be done without a lot of work (which was way beyond my understanding) - if at all.
But I tried this:
Moved the void setup() code to a TAB called A_Setup
Moved the void loop() code to a TAB called B_Loop
left all the declarations on the original "sketch" named tab.
This has compiled OK & "appears" to be working OK.
Does this sounds acceptable or am I taking a big risk & may run into some unexpected beahviour.
Thanks
I heard about TABS in teh Arduino & moved a lot of my functions to their own TAB.
This appears to have worked fine (fingers crossed).
But I wanted to move all my variable declarations to a seperate TAB too - but reading up on this suggested it couldnt be done without a lot of work (which was way beyond my understanding) - if at all.
But I tried this:
Moved the void setup() code to a TAB called A_Setup
Moved the void loop() code to a TAB called B_Loop
left all the declarations on the original "sketch" named tab.
This has compiled OK & "appears" to be working OK.
Does this sounds acceptable or am I taking a big risk & may run into some unexpected beahviour.
Thanks