I am trying to make an arduino touch switch using a mosfet. I have managed to get an LED to turn on when the touch pad is touched and it works very well but when i try to replace the led for an arduino pin pulled high(internally) i run into problems. sometimes the switch is read as low when i touch the pad but other times it just becomes unresponsive. could anyone see where i am going wrong? many thanks. Dan.
(ive just realised that i have mixed my letters up on the mosfet, the drain is in fact connected to arduino A0 and the sink to ground)