I used this code to try to make a capacitance reader using mbed It contains tweaked version of others' code so not all credit goes to me
Kuldip Maharjan
/
capacitance