Need advice how to merge few sketches into one

Hi,
I'd like to merge few sketches into one, I am planning to setup a main sketch and all others merge as a function, is this OK?
Thanks.
Adam

Sure, you have our permission. Do you need help?

Combining Arduino codes.

1 Like

Thanks.
Actually, I just don't how to make few sketches working together.
I was planning to put them into one file, but seems it's better to use multi-sketches with multi tabs?
And I saw the multi sketches named the other sub sketches as .h, is this a must, then how to call them?

Did you read the tutorial that I linked?

1 Like

Thank you.
The link is a wonderful solution.