different approach to recent posts (nod to Bushmills)
this solution counts how many switches are on, turns lamp on if it's odd number (effectively XOR)
ps
hey all check out my last a/d converter circuit, seems its flown under the radar... unashamedly trying to get it noticed ;)