analog lab
This is the setup with a pot.
The reading varied from 1000+ to 0 as I turned the meter.
The setup with a flex-sensor was more fun to play with. It runs the exact same code. One thing about this setup is you have to use a high resistor to get a reading. I used a 220 ohm resister in the beginning and the reading was around 1000 with slight variations. As soon as I changed to a 10k resistor the reading varied more, from 570 when it is straight to 890 when it is bent.