Question: how to join two different codes?

Hi, I’m dabbling in Arduino and having trouble running two sketches on my Arduino UNO simultaneously. The first is about a program that reads temperature and relative humidity and the second is a program that reads barometric pressure. Both programs work independently, but when I try to combine the two, No :frowning:
help
help.txt (3.5 KB)

can you atleast try to combine and see if it works, above code you shared is just a separate code one after the other.
Also, is it related to cayenne as there is no cayenne code in it.