this post was submitted on 03 Jul 2023
9 points (100.0% liked)

minecraft

121 readers
1 users here now

minecraft Lemmycraft IP: 92.51.163.43. There is whitelist, check out the "Joining the Lemmycraft server" post for more information

founded 1 year ago
MODERATORS
 

Across the river from the main city you will find a scaffold in the ground near a stonecutter. If you go down it, you'll find my no-chamber for experimentations--- it's completely invisible to and devoid of influences from the outside world.

I've successfully constructed prototype logic gates--- an and gate and a not gate, and I probably shouldn't have to test an or gate. If I have enough time, I might even construct a half adder somewhere.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (1 children)

I have no idea what those are lmao, all I know about computers I got off a 1980s children's book about machines.

[–] Sylver 2 points 1 year ago* (last edited 1 year ago) (1 children)

A regular “or” gate will turn on when:

      A is on while B is off

      A is off while B is on

      A is on while B is on

An x-or gate will only turn on when:

      A is on while B is off

      A is off while B is on

It will not turn on if both A and B are on. This differs from the “and” gate because an “and” gate activate while A and B are the same state (both either on or off)

I hope I explained this sufficiently!

[–] Sylver 2 points 1 year ago* (last edited 1 year ago) (1 children)

For a real-life example of an x-or gate, think of a long hallway with a light switch on either end.

If both are on, the light is off. If both are off, the light is off. However if they are different, one on and one off, the light will be on in the hallway

[–] [email protected] 1 points 1 year ago

It really depends. I've seen hallways with OR logic for the switches. But I feel like that was not on purpose, because I really can't think of a proper use case for that.