I appreciate this is a really remedial question - and I thank you for your patience.
I have a teensy 4.0 which I am just wiring up an on/off switch for. (Yep, long press connects on/off to gnd to turn off, short press connects on/off to gnd to turn back on).
The momentary switch I am using also contains an LED indicator light, and an internal resistor (I don't know the resistance or forward drop).
So, the switch has 4 lugs
2 for the LED which connect to 3.3v and GND.
2 for the button which connect to On/Off and GND.
You can probably guess my question.
Can I get away with just three wires if I bridge the LED- and the GND lug of the switch?
Or does this end up applying LED voltage to the ON/OFF pin when the switch is connected?
Now the I've typed that out - it sounds like a bad plan - but it would simplify the wiring to only use the end pins of the board.
Many thanks
I have a teensy 4.0 which I am just wiring up an on/off switch for. (Yep, long press connects on/off to gnd to turn off, short press connects on/off to gnd to turn back on).
The momentary switch I am using also contains an LED indicator light, and an internal resistor (I don't know the resistance or forward drop).
So, the switch has 4 lugs
2 for the LED which connect to 3.3v and GND.
2 for the button which connect to On/Off and GND.
You can probably guess my question.
Can I get away with just three wires if I bridge the LED- and the GND lug of the switch?
Or does this end up applying LED voltage to the ON/OFF pin when the switch is connected?
Now the I've typed that out - it sounds like a bad plan - but it would simplify the wiring to only use the end pins of the board.
Many thanks