Arduino as Capacitive Sensor

Hi again, I am really confused :-?

I just changed the cable position. I moved the cable connected to pin9 and the white cable on the line above. Then I linked the 2 lines with the resistor and now It works !!!!!

I put a picture for the newbies like me ( and documentation ) :slight_smile:

I am sorry for all this, hope that at least it will help others. It must be really silly the way I have done it in the first place. I really need to learn the basics.

Great code by the way, thanks for that !!!