This PH2 Female/Male JST 2-pin Extension Cable comes with an in-line Switch - click once to turn on, click again to turn off. It's super handy especially in tandem with our JST-terminated battery packs or lithium polymer battery packs.
This switch is a great companion for the BBC micro:bit go/essentials pack, allowing you to turn battery power on and off, without having to keep removing that fiddly JST connector on the battery cage!
One end has a classic female JST-PH2 socket, and the other end has a matching plug. From end to end the cable measures ~20" / ~508mm.