test code with capacitive sensor and fsr