Yet another XOR feature: a lamp turned on/off with several toggle switches

If you have a room with one lamp and 2-3 (toggle) switches in distant corners, using XOR function you can make any switch toggle the 'main' lamp:

LAMP = (switch1 XOR switch2) XOR switch3

As I seen in one hotel room with two switches, one near door, and the second near the bed:

This electric circuit corresponds to LAMP = NOT(switch1 XOR switch2).

(the post first published at 20251110.)


List of my other blog posts.

Subscribe to my news feed,

Some time ago (before 24-Mar-2025) there was Disqus JS script for comments. I dropped it --- it was so motley, distracting, animated, with too much ads. I never liked it. Also, comments didn"t appeared correctly (Disqus was buggy). Also, my blog is too chamberlike --- not many people write comments here. So I decided to switch to the model I once had at least in 2020 --- send me your comments by email (don"t forget to include URL to this blog post) and I"ll copy&paste it here manually.

Let"s party like it"s ~1993-1996, in this ultimate, radical and uncompromisingly primitive pre-web1.0-style blog and website.