bossredman
Well-known member
Hi - a couple of questions which I'm thinking are probably NOT related - BUT - maybe as they both seem to have started happening very recently.
1] I have an Expression Pedal (ie potentiometer) with a male TSR connector hooked up to my Teensy 3.6 via a TSR Female connector.
T=Analog pin A22
S=AGnd
R=+5V
Whenever I disconnect/connect the male connector from/to the female connector - it resets my Teensy.
Is that expected/normal behaviour?
2] Is it possible for a digital input to trigger itself - even when it's not connected to anything?
{edit: I think this as I have a Serial.Print statement for debugging purposes in all the code sections which get called by a swithc press. This one keeps popping up - even thouthere is nothing connected to it now }
edit 2:
1] I have an Expression Pedal (ie potentiometer) with a male TSR connector hooked up to my Teensy 3.6 via a TSR Female connector.
T=Analog pin A22
S=AGnd
R=+5V
Whenever I disconnect/connect the male connector from/to the female connector - it resets my Teensy.
Is that expected/normal behaviour?
2] Is it possible for a digital input to trigger itself - even when it's not connected to anything?
{edit: I think this as I have a Serial.Print statement for debugging purposes in all the code sections which get called by a swithc press. This one keeps popping up - even thouthere is nothing connected to it now }
edit 2:
Code:
#define BUTTON24 22 // IA-8
Bounce bouncer24 = Bounce(BUTTON24);
pinMode(BUTTON24,INPUT_PULLUP);
if ( bouncer24.fallingEdge()) //Dynamic IA switch 8
{
Serial.print("Switch*: "); Serial.println(24);
....
}
Last edited: