Question: Is it because the voltage is very low so that we do not have to really connect the circuit to the ground?
notes: analog input does not need to write INPUT in set up.
There are two kinds of potentiometer in the kit. At first, I used the smaller one as the figure showed, the light of LED could not change no matter how I checked the circuit. Then I use the bigger one, It finally succeed. I guess the pin of the smaller one is too short.
8f4bba230c97ecc734a29b6757d18ca9.mp4
When I pressed the force-sensing resistor, the LED lighted up. I could see the sensorValue range from 0 to 1023, but the intensity of the light did not change. if the brightness is below 130, there is no light; if the brghtness exceeds 140, the LED suddenly lights up. I cound not observe the process of change on both green and red LED.
I guess the reason is that I can't control how much I'm pressing the sensor, so the sensorValue cannnot rise slowly.