Circuit for P-I-N-O capacitive touches