Crowbits-Logic OR is a logic gate that creates an OR rule for your circuit. But unlike AND, the logic OR is a good option for projects where you want to detect two inputs but don’t care which input is activated.
How does it work?
The logic OR has two inputs and one output. The interface of the logic OR is a digital interface, it will output a logic-high/low (1/0) signal.
The logic OR will output a logic-high signal when either or both of the inputs are logic-high.
Otherwise, the OR will output a logic-low signal when both of the inputs are logic-low.
Use cases
If you take two options as an input, let’s say a flame sensor and a button, if either sensor is triggered -
both will bring the same result. This is very useful in certain applications.
Tips
Like the logic AND, we expand one output into two, so you can connect more output modules at the same time.
The OR gate acts in the same way as the logical “and” operator. The output is “1” if either or both of the inputs are “1”. If both inputs are “0”, then the output is “0”.