Octaviu5:
How would i do that? can you give me a general advice?
First do a rough plot of position angle against reading for each pot. Find out the valid range for each pot. See how they overlap and where the gaps are. Then work out the range you are going to use for each pot, make this as even as possible and identify the point greater and less than readings where you will switch from this pot to the other. Then re read reply #2.
Your code will look like
Take a reading from the current pot - use it for your measurement.
Is this reading outside the range you want to use? If yes change the variable that indicates the current pot.
Note that the use it bit will have different calculations in in depending on what pot is being used.