Game Development Reference
In-Depth Information
FIGURE 9.21 The OR gate is represented by the junction point of the wiring. In this case,
the daylight sensor is providing the power that lights up all the wires. Use repeaters or in-
verters on each strand if it's important the current always flows in just one direction.
OR gates have many uses primarily because they allow multiple inputs to feed into the one
circuit. For example, a row of pressure plates or strands of tripwire around the perimeter
can hook up to a single wire that runs into your house, creating a perimeter alarm system.
You can also add a timed circuit to a note block to create an audible beeping alarm.
I'm sure you'll find many other uses.
Note: If it's Not OR, It's NOR
NOR gates operate as OR gates but with the output signal inverted.
Think of it as NOT+OR. In these gates, the output signal is TRUE only
ifbothinputsareFALSE.Justplaceaninverteronthesingle-wireoutput
from the OR gate to create a NOR.
Search WWH ::




Custom Search