J-M-L - thanks, that lets it compile now.
Testing - and there's the output I wanted:
00.00000,000.00000,47.78,15.23,13.06,00101,150.0,260.0,255.0,265.0>
GPS, GPS, voltage, voltage, voltage, switch settings, pressure, temperature, temperature, temperature - perfect! Thanks again
![]()
MarkT - this code setup was easier to figure out quick than figuring out how to move the channel count thru the code block and making multiple functions out of it. Especially as I needed to add to each one to fake an output here and one there to test functionality of other tabs.
The only function spanning one tab is loop(), there no other function calls. Everything is running inline. I don't do functions in the traditional sense, but I do set flags and have a code block run it, then clear the flag. This code is also state machine like to allow stuff to be responsive while waiting for GPS/GSM module responses to come back. (checking for OK or a > depending on what is going on).
Each Tab in my file works as one file, more or less. Having more tabs means the screen width needs to be wider to see them all, which meant you can't see them all and have the Serial Monitor open for debugging, and with 1.0.6 and earlier you can't pan across the tabs, so that's kind of a limit. 8-10 tabs is about the limit of what I find workable.