trouble combining 3 separate codes to one working mechanism.

Hello there, I am currently working on a project whereby by I have to operate a stepper motor, servo motor and MPU9250 9DOF sensor altogether at once. I am having trouble combining the 3 separate sketches into one sketch. Each component tested separately works perfectly fine. I will upload the 3 codes below. if anyone has an idea about this please help me out. Thank you.

SERVO_DIFFERENT_ANGLE.ino (1.01 KB)

mpu_9250_code.ino (1.42 KB)

stepper_Example.ino (492 Bytes)

meghjia:
Hello there, I am currently working on a project whereby by I have to operate a stepper motor, servo motor and MPU9250 9DOF sensor altogether at once. I am having trouble combining the 3 separate sketches into one sketch. Each component tested separately works perfectly fine. I will upload the 3 codes below. if anyone has an idea about this please help me out. Thank you.

Combining them to do what? In other words, why are you combining them? How do you want the 3 devices to interact with each other (if at all)?

How about posting the codes, and your best effort?