Forgive me if I don't explain clearly... I'm not a math expert by any means...
I have a range of numbers between 1 and 32768. This range increases logarithmically. In other words 50% of this range is not 16384, but a much lower number, which I would guess is around 2600 - but that is a guess.
If I have a value between 1 and 32768, how would I find out what percentage of the scale that value falls at?
My problem is that I am reading a potentiometer and my sensor returns a value between 1 and 32768. As I turn the potentiometer, the increase in readings starts out small. The further I turn the faster the value climbs. I need to get a linear reading from this sensor.
Any kind of assistance with this problem would be greatly appreciated.
I have a range of numbers between 1 and 32768. This range increases logarithmically. In other words 50% of this range is not 16384, but a much lower number, which I would guess is around 2600 - but that is a guess.
If I have a value between 1 and 32768, how would I find out what percentage of the scale that value falls at?
My problem is that I am reading a potentiometer and my sensor returns a value between 1 and 32768. As I turn the potentiometer, the increase in readings starts out small. The further I turn the faster the value climbs. I need to get a linear reading from this sensor.
Any kind of assistance with this problem would be greatly appreciated.

