[Update 1] I try to combine the code like below, but what i receive is that i keep get 247 value, the function cant go to while loop and get the !=247 condition. what i want to do is every time the code check if cX = 247 is received , if not excute the camera and trace the obbject, if yes, excute ot...