rwldrn/johnny-five — pull request #98 by CDugD (2013-01-01 01:07:44+00:00)
Title: Basic switch

I added a basic, 2-way (toggle) switch as a type of hardware. It works similar to a button, listening for the circuit to be "open" or "closed".

I had considered possibly adding a 3-way switch type, but I'm not sure if it's needed considering they're conceptually the same as having two 2-way switches. I'd be interested in hearing your thoughts on it.