carlosemello
Member
Hi there,
I am working on a piezo/midi project with a Teensy LC. I use several analog inputs (all 12 on the LC). Everything is working fine, except that two inputs interfere with each other: A10 and A8. After looking all over for shorts in my input circuit, I noticed that the problem happens with the Teensy alone. Hooked a pot to pin A10 and read both pins. As expected I get some noise on pin A8 which is open, but it also follows the pot on pin A10 (please see attached video and code). Is my Teensy damaged or am I missing something? If this is capacitive coupling on the i/o, how do I fix it?
Thanks in advance. Any help will be much appreciated.
I am working on a piezo/midi project with a Teensy LC. I use several analog inputs (all 12 on the LC). Everything is working fine, except that two inputs interfere with each other: A10 and A8. After looking all over for shorts in my input circuit, I noticed that the problem happens with the Teensy alone. Hooked a pot to pin A10 and read both pins. As expected I get some noise on pin A8 which is open, but it also follows the pot on pin A10 (please see attached video and code). Is my Teensy damaged or am I missing something? If this is capacitive coupling on the i/o, how do I fix it?
Thanks in advance. Any help will be much appreciated.
Code:
void setup()
{
Serial.begin(115200);
}
void loop()
{
Serial.print("0 1023 ");
int input10 = analogRead(A10);
int input8 = analogRead(A8);
Serial.print(input10);
Serial.print(" ");
Serial.println(input8);
}