Can I connect capacitive touch sensors to Pin 0 or 1?

RIDDICK:
But u can use digital pins 2 to 13 (=12 pins) and analog pins 0 to 5 (=6 pins numbered digital pins 14 to 19)... :slight_smile:

Grumpy_Mike:
However you can use the analogue pins as digital ones you know.

Waitaminute, I know how to read an analog pin and decide that if the result is, say, 600 or higher I consider it a HIGH.
But are you saying that I can simply decide that A0 is digital pin 14 and use the function:

 PinStatus= readCapacitivePin (14) ;

from the code above, like I would do for any digital pin 2-13?

That would solve ALL my problems (or at least those related to this project. There is still the issue of the meaning of life and how to pay rent, but that's another story :slight_smile: )