Difference between revisions of "Hazzard/Logic"

From #openttdcoop wiki

Jump to: navigation, search
(Using new Logicgate template)
Line 4: Line 4:
  
 
=== NOT Gate ===
 
=== NOT Gate ===
[[File:haz_not.png|thumb|10000px|right|A NOT gate]]
+
{{logicgate|name=Not Gate|image=haz_not.png|description=Not gates inverts the input from red to greed or vice-versa.|iotable=
{{logicgate}}
+
{{{!}}class="wikitable" style="text-align:center; width:100%;"
{|class="wikitable" style="text-align:center;"
+
!Input!!Output
!Input
+
{{!}}-
!Output
+
!A!!O
|-
+
{{!}}-
!A
+
{{!}}0{{!}}{{!}}1
!O
+
{{!}}-
|-
+
{{!}}1{{!}}{{!}}0
|0
+
{{!}}}
|1
+
}}
|-
+
|1
+
|0
+
|}
+
 
=== AND Gate ===
 
=== AND Gate ===
[[File:haz_and.png|thumb|10000px|right|An AND 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;"
+
{{{!}}class="wikitable" style="text-align:center; width:100%;"
!colspan="2"|Input
+
!colspan="2"{{!}}Input!!Output
!Output
+
{{!}}-
|-
+
!A!!B!!O
!A
+
{{!}}-
!B
+
{{!}}0{{!}}{{!}}0{{!}}{{!}}0
!O
+
{{!}}-
|-
+
{{!}}0{{!}}{{!}}1{{!}}{{!}}0
|0
+
{{!}}-
|0
+
{{!}}1{{!}}{{!}}0{{!}}{{!}}0
|0
+
{{!}}-
|-
+
{{!}}1{{!}}{{!}}1{{!}}{{!}}1
|0
+
{{!}}}
|1
+
}}
|0
+
|-
+
|1
+
|0
+
|0
+
|-
+
|1
+
|1
+
|1
+
|}
+

Revision as of 03:16, 17 March 2014

See also: Logic

Gates

NOT Gate

Not Gate
Haz not.png
Not gates inverts the input from red to greed or vice-versa.
Absolute-Red Dependent No
IO Table
Input Output
A O
0 1
1 0

AND Gate

Not Gate
Haz not.png
Not gates inverts the input from red to greed or vice-versa.
Absolute-Red Dependent No
IO Table
Input Output
A B O
0 0 0
0 1 0
1 0 0
1 1 1
Powered by MediaWiki