How to connect a 6 pin push toggle switch to just toggle my battery on/off.

hey, I’ve just started to work with robotics and started with a line follower project. I currently possess a 6 pin push toggle and I want only to toggle my battery on/off, as it’s very frustrating to pull the connections every time. A simple circuit diagram would be very appreciated.

PS- I know there are other forums and stuff on the internet, but I’m not understanding any of them :confused:

is it a toggle switch ? you can use a multimeter to determine which pins are connected in one state or the other (or a resistor & a LED and powersupply/battery)

See this thread about how your switch works.