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)...
However you can use the analogue pins as digital ones you know.
PinStatus= readCapacitivePin (14) ;
Quote from: RIDDICK on Nov 19, 2012, 07:21 amBut u can use digital pins 2 to 13 (=12 pins) and analog pins 0 to 5 (=6 pins numbered digital pins 14 to 19)... Quote from: Grumpy_Mike on Nov 19, 2012, 08:53 amHowever 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:Code: [Select] 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 )
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16