I am trying to design a circuit that uses 6V coin cell battery to turn on and off a white LED. A single button press should turn the LED on/off. Would an analog switch of some kind accomplish this? I would like the component to draw as little current as possible.
There are switches that open/close by pushing at the same place. For example that one (first one I found, up to you to decide if you want one to be mounted on PCB or nor, the size, ...)
You have basically 2 sub-types that match your question :
- if you push once, the putton is "pushed in", if you push again, it is pushed out. This is the type I put in the link. You find those for example on old analog scopes.
- if you push, the button changes state (on/off), but mecanically springs back to the same position for the visible part
But in both cases, you will probably need to add a resistor in series with your LED (excepted if you buy one with intergrated resistor), or use something more sofisticated in order to keep the same current (therefore light intensity) while the voltage decreases.