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

Dependencies:   mbed

Auto generated API documentation and code listings for capacitance

Code

main.cpp [code]