how to combine sketches

i have a few sketches that work great by themselves, such as running two servos continously (sweep), a serial 20x4 LCD, and a waterproof temp sensor. Although i would like to combine them so that these functions can run all at the same time. for instance having the temp sensor display the temp on the lcd either at certain time incremants or constantly and have the servos running at the same time always with no stop. does anyone know of some easy resources that will show you how to combine functions or the basics of doing code. ive tried many times to combine these functions but no luck…im getting to the point where i feel like id rather hire someone to write this code for me if i give them the sketches i have. any guidance would be greatly appreciated. :neutral:

http://www.thebox.myzen.co.uk/Tutorial/ … _Code.html

mosquedaj:
does anyone know of some easy resources that will show you how to combine functions or the basics of doing code. ive tried many times to combine these functions but no luck…im getting to the point where i feel like id rather hire someone to write this code for me if i give them the sketches i have. any guidance would be greatly appreciated. :neutral:

There is a three-part series of guides on the Adafruit site about multi-tasking the Arduino that is very good:

https://learn.adafruit.com/multi-taskin … 1?view=all

https://learn.adafruit.com/multi-taskin … 2?view=all

https://learn.adafruit.com/multi-taskin … 3?view=all

thank you all for the great resoures.