OK Darrel, I posted my code.
http://www.picbasic.co.uk/forum/show...1611#post71611

I'm sure it needs a LOT of fixing to be "good", but it's functional enough now to make a touch sensor work. Enjoy!


Steve