CapTouch is library to provide simple touch sensor for the Spark.
A port of John van Saders' code to a library and a C++/Class based solution.
See: http://jvs.me/touch-sensing-on-the-spark-core/
See the included example for how to call the library's functions in the firmware/examples/ folder.