Y
Hacker News
new
|
ask
|
show
|
jobs
by
escardin
2360 days ago
That's already too complicated. You want a normally closed switch (i.e. on when not pressed). When the door is closed, it's pressed, and the light is off. When the door is open, the light is on.