Ah, OK... Pull up what pin?! With a resistor?joan wrote:One way among many.
Connect the top blue wire to ground. Connect the middle blue wire to a gpio. Set the gpio pull up/down mode to pull up. The gpio will read 1 with the switch in one position and 0 in the other.
Yes that is exactly what it is! Sorry the name slipped my mind! What difference does that make? The slider still has two states? How would I wire it up if it wasn't in the PCB?joan wrote:Is that a button? Looks more like the backside of a slider switch.