Difference between revisions of "Hazzard/Logic"
From #openttdcoop wiki
| Line 4: | Line 4: | ||
=== NOT Gate === | === NOT Gate === | ||
| − | [[File:haz_not.png|thumb|10000px| | + | [[File:haz_not.png|thumb|10000px|right|A NOT gate]] |
{|class="wikitable" style="text-align:center;" | {|class="wikitable" style="text-align:center;" | ||
!Input | !Input | ||
| Line 19: | Line 19: | ||
|} | |} | ||
=== AND Gate === | === AND Gate === | ||
| − | [[File:haz_and.png|thumb|10000px| | + | [[File:haz_and.png|thumb|10000px|right|An AND gate]] |
{|class="wikitable" style="text-align:center;" | {|class="wikitable" style="text-align:center;" | ||
!colspan="2"|Input | !colspan="2"|Input | ||
Revision as of 06:09, 26 February 2014
See also: Logic
Gates
NOT Gate
| Input | Output |
|---|---|
| A | O |
| 0 | 1 |
| 1 | 0 |
AND Gate
| Input | Output | |
|---|---|---|
| A | B | O |
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |

