This will control the brightness of the red led using the capacitive touch sensor present onboard the KL25Z board.

Dependencies:   TSI mbed

Revision:
0:19967d57a803
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TSI.lib	Wed Jun 27 04:33:54 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/emilmont/code/TSI/#507b1f67804b