Pretty simple question I hope but one that I haven't worked out yet in the sketch environment.
I have two sketches going. Both are working but I want to upload both the arduino. Can one be turned in to a header? What are the conditions of a header?
Do the headers still have setup and loops?
If anyone can point me in the right direction then that would be great.
Thanks for that. That works in this case but my code is going to get very long quick!
Have you got any advice about stripping functions and chunks of code out and putting them in headers?
What is the difference having then in headers or not?
You can use a better text editor to edit your programs, and can always think clever to keep your code as small as possible.
You may consider using libraries. I use libraries to create re-usable sets of functionality to just plug in. Allowing for easy transport between apps and for combining multiple functions into a single app. Seems close to what you are looking for.