//When I bend the flex sensor to 180 degrees I want it to display the value around 80 kohms and when it is flat at about 30 kohms. When the flex sensor is flat it is giving me 900 kohms and it is giving me 5085 kohms at 180 degrees. Is there something off in my code?
Welcome to the forum.
Please read the post at the start of any forum , entitled "How to use this Forum".
This will help with advice on how to present your code and problems.
A circuit diagram of your project will help too.
Did you get specifications of the flex sensor when you got it? Have you measured the resistance using a digital volt-Ohmeter (DVM)?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.