In the last tutorial, we met the AND gate. Now we’ll look at a similar logic gate.
The OR gate takes two inputs, and outputs 1 if at least one input is 1. In other words, it needs the left input or the right input (or both).
loading…
Wait a second — isn’t this the same as our AND Gate?
Conveniently, a turn’s left output behaves like an AND, while the right output behaves like an OR.
The turn is a very versatile roon. It can:
- Turn marbles around
- Move marbles sideways
- Act as an AND gate
- Act as an OR gate
Now we’ve seen an AND and OR Gate, it’s time to start stitching roons together to make a more advanced gate.
continue