I experimented with capacitive touch on a 16f690, my related thread about it here (you might glean some stuff from it)...
http://www.picbasic.co.uk/forum/showthread.php?t=12196
My (short!) youtube video of the end result here (using a guitar's scratchplate screw's 'head', as a 'toggle switch')...
Re the process itself...it might initially seem a lot to swallow (especially if it's your first sortie using interrupts - which are pretty much essential for capacitive touch), but like everything else, if you break it down into smaller 'building blocks' and approach each block one at a time, then it becomes much more digestible.
You obviously need to get the relaxation oscillator working first - an oscilloscope is *extremely* useful to make sure this is working (& getting it working proved to be the most troublesome part for me....there's a whole heap of registers that need to be set 'oh so right', once I got it running, I was off to the races).
re those wsave errors you're seeing when compiling - you need to comment out some lines in the DTS_INTS-14.BAS (search on the error wsave VAR BYTE $20 SYSTEM on this forum to find out what needs doing!)
Bookmarks