Originally Posted By: Bucic

So it is hard-coded? There is no way to tell mmjoy2: 'here's a 100k pot; divide its 0 through 30 deg range into 2014 steps'?

calibration auto or manual.

Originally Posted By: Bucic

Could you tell me how? If I hook up 10k, 50k and 100k pots mmjoy2 will assign 1024 steps across 270 deg of pot rotation. So it doesn't assign steps per voltage/resistance variation but... I don't know. There's no way it knows what potentiometer (resistance range and rotation range) is connected.

I was thinking about using the first ~20 degress of a 1 megaohm potentiometer to get higher resolution but this won't seem to work due to the behavior described above.

google it "how ADC works", it does not measure the resistance.