or as a type of logic gate called Exclusive OR (XOR) switch, which would produce an output signal when one light input twists ...
Did you know that most AVR chips have a type of hardware exclusive OR (XOR) option when it comes to the logic levels of the output pins? If you look in the datasheet (the image above is a ...