how to run two codes for a single arduino.

HELLO THERE,

I NEED HELP RUNNING TWO CODES USING ONE SINGLE ARDUINO.

FIRST CODE RUNS 2 SERVOS, SECOND CODE RUNS AN LCD.

I WANT TO RUN THESE TWO DEVICES AT THE SAME TIME USING SAME ARDUINO.

I HAVE CODES ALREADY, I JUST NEED TO KNOW HOW TO COMBINED THEM INTO ONE SINGLE ONE.

THANK YOU.

Is your CAPS Lock key stuck?

Anyway, there are a few threads how to merge code; I've never looked at them but they might help you. Do a search.

What I consider important is that one understands the codes to be merged. Next it is just a copy and paste exercise with adjustments. Once you get stuck (things don't work as expected), it's time to realise that you did not understand the individual codes well enough and study them again.

In addition to what sterretje said, you really need to have a clear set of requirements for the combined program. So far, we've seen no proof that you have any requirements.

Have a look at several things at a time and Planning and Implementing a Program

...R