With MCUs becoming increasingly more powerful it was only a matter of time before they would enable some more serious ...
# have a pull-up resistor of 10K connected to it as well. The other pin of the # flex sensor should be connected to ground. # We can convert the value to the voltage we are reading.