How would I measure resistance over a certain length? In this case the resistance is variable.
What I have in my head is that you would output a certain amount of current from one pin, and measure how much comes back from the other.
I'm not sure if this would work, or how to implement it in code.
I've seen this forum post, but it's not making much sense to me.
How can I measure resistance?