has anyone worked with using flex sensors with the ADC of a 328p? I can't figure out the best way to hook this up and get the best range out of it. it varies from 10K-25+K ohms. I was pulling adc input from between a 50k ohm from 5v+ and my flex resistor down to ground. Its not like a potentiometer though so i am confused as to how to get the best adc result out. I see the data sheet says i should use an op amp as an impedance buffer I hooked it up the way it showed in the datasheet but my readings are still skewed. how can i take care of the issue in the programming or what is the best route to take? I need the adc to look at a range it seems like of +1.5v to +5v. Any help on previous experience with working with these to get best results would be appreciated