Skip to content

Logic Gates

If you want a more in-depth and easier to understand explaination, check out this amazing video by Ima_Rainbow. He does an amazing job explaining what everything does, and how to use them

AND Gate

and gate

  • Compares two inputs, one on the back and one on the side
  • If both are on, it will give an output
  • If not, no output will be given

Truth Table:

Back Side Front
Off Off Off
Off On Off
On Off Off
On On On

OR Gate

or gate

  • Compares two inputs, one on the back and one on the side
  • If either are on, it will give an output
  • If not, no output will be given

Truth Table:

Back Side Front
Off Off Off
Off On On
On Off On
On On On

NOT Gate

not gate

  • Has one input on the back, and inverts it
  • If it gets powered, no output will be given
  • If not, it will give an output

Truth Table:

Back Front
Off On
On Off

XOR Gate

xor gate

  • Compares two inputs, one on the back and one on the side
  • Works similar to a OR gate, but will not give an output if it receives power from both inputs

Truth Table:

Back Side Front
Off Off Off
Off On On
On Off On
On On Off

Toggle

toggle

  • When given an input from the back, it turns on or off
  • If initially off, it will turn on
  • If initially on, it will turn off
  • There is an additional input on the side (marked in red) that will turn off the toggle, even if it was off already

Randomizer

randomizer

  • Takes one input, and gives two outputs on either side
  • When powered, it will pause breifly, before randomly powering either side