Difference between revisions of "Hazzard/Logic"
From #openttdcoop wiki
(Created page with "See also: Logic == Gates == === NOT Gate === Two NOT gates, one converting red to green and the other one converting green to red. The NO...") |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
=== NOT Gate === | === NOT Gate === | ||
− | + | {{logicgate|name=NOT Gate|image=haz_not.png|description=NOT gates inverts the input from red to greed or vice-versa.|iotable= | |
− | + | {{{!}}class="wikitable" style="text-align:center; width:100%;" | |
− | + | !Input!!Output | |
− | { | + | {{!}}- |
− | !Input | + | !A!!O |
− | !Output | + | {{!}}- |
− | + | {{!}}{{G}}{{!}}{{!}}{{R}} | |
− | + | {{!}}- | |
− | + | {{!}}{{R}}{{!}}{{!}}{{G}} | |
− | + | {{!}}} | |
− | + | }} | |
− | + | === AND Gate === | |
− | + | {{logicgate|name=AND Gate|image=haz_and.png|description=An AND gate will be red if both the inputs are red.|iotable= | |
+ | {{{!}}class="wikitable" style="text-align:center; width:100%;" | ||
+ | !colspan="2"{{!}}Input!!Output | ||
+ | {{!}}- | ||
+ | !A!!B!!O | ||
+ | {{!}}- | ||
+ | {{!}}{{G}}{{!}}{{!}}{{G}}{{!}}{{!}}{{G}} | ||
+ | {{!}}- | ||
+ | {{!}}{{G}}{{!}}{{!}}{{R}}{{!}}{{!}}{{G}} | ||
+ | {{!}}- | ||
+ | {{!}}{{R}}{{!}}{{!}}{{G}}{{!}}{{!}}{{G}} | ||
+ | {{!}}- | ||
+ | {{!}}{{R}}{{!}}{{!}}{{R}}{{!}}{{!}}{{R}} | ||
+ | {{!}}} | ||
+ | }} |
Latest revision as of 03:46, 17 March 2014
See also: Logic
Gates
NOT Gate
NOT Gate | |||||||||
---|---|---|---|---|---|---|---|---|---|
NOT gates inverts the input from red to greed or vice-versa. | |||||||||
Absolute-Red Dependent | No | ||||||||
IO Table | |||||||||
|
AND Gate
AND Gate | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
An AND gate will be red if both the inputs are red. | |||||||||||||||||||
Absolute-Red Dependent | No | ||||||||||||||||||
IO Table | |||||||||||||||||||
|