Switch

* Button like component with two stable states.
* This is an old code. Revised based upon Led code
* Tests included.