The XOR module is a logic gate with two inputs. Think of it as “exclusive or,” meaning that it sends an on signal when it’s receiving an on signal exclusively from one input or the other, but not both.
Real World Example
The XOR is great for projects in which the activation requires alternation. Because the output is only true when one input is true, this circuit can be used to make sure that only one event happens at a time. The XOR also works well in scenarios in which you want one button to start an action, and the other button to stop it.
- choosing a selection results in a full page refresh
- press the space key then arrow keys to make a selection