Copy the statements from both setup() functions into setup() in the new combined code.
Good idea. although I think it would be easier to spot conflicts, especially in the use of pins, if the setup was in one function rather than two.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16