> pinMode(A10, INPUT);

All this does on a teensy is add some distortion of the signal. Leave it out.