How do I make a logic gate that takes 4 input and gives and output if only one is powered?Powered rail not powering downHow do I create a redstone circuit whose output depends on it's previous input?How can I toggle an output using the same input pulse?Gate to allow only one player to pass throughMinecraft redstone logic - comparing 6 inputsRedstone NOR gate with one of two inputs adjacent to outputHow do I make a command block output a Redstone signal when it is successful?A Redstone circuit that will only fire if a specific input is turned on?How to make a implication gate using command blocks?How do you make a redstone clock that has four outputs and doesn't break when leaving/returning to the chunk?
How do you use the interjection for snorting?
Can an integer optimization problem be convex?
Fuel sender works when outside of tank, but not when in tank
Does the Way of Shadow monk's Shadow Step feature count as a magical ability?
Aesthetic proofs that involve Field Theory / Galois Theory
Could Apollo astronauts see city lights from the moon?
Tesla coil and Tesla tower
Subverting the emotional woman and stoic man trope
Does wetting a beer glass change the foam characteristics?
practicality of 30 year fix mortgage at 55 years of age
Is there any relation/leak between two sections of LM358 op-amp?
Is it acceptable to say that a reviewer's concern is not going to be addressed because then the paper would be too long?
Research promotions in the middle of post-doc contract
On the meaning of 'anyways' in "What Exactly Is a Quartz Crystal, Anyways?"
Do we know the situation in Britain before Sealion (summer 1940)?
Is there a way to hide HTML source code yet keeping it effective?
Proper way to shut down consumer
How to create fractional SI units (SI...sqrts)?
How can this Stack Exchange site have an animated favicon?
Does every piano need tuning every year?
Under what circumstances would RAM locations 0 and 1 be written and/or read on the C64?
Strange Sticky Substance on Digital Camera
Word or Phrase Meaning False Self-Criticism
What exactly did this mechanic sabotage on the American Airlines 737, and how dangerous was it?
How do I make a logic gate that takes 4 input and gives and output if only one is powered?
Powered rail not powering downHow do I create a redstone circuit whose output depends on it's previous input?How can I toggle an output using the same input pulse?Gate to allow only one player to pass throughMinecraft redstone logic - comparing 6 inputsRedstone NOR gate with one of two inputs adjacent to outputHow do I make a command block output a Redstone signal when it is successful?A Redstone circuit that will only fire if a specific input is turned on?How to make a implication gate using command blocks?How do you make a redstone clock that has four outputs and doesn't break when leaving/returning to the chunk?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
How can I make a red_stone logic gate/gates that takes in 4 inputs but only gives an output when 1 of them is powered.
minecraft minecraft-redstone
add a comment
|
How can I make a red_stone logic gate/gates that takes in 4 inputs but only gives an output when 1 of them is powered.
minecraft minecraft-redstone
add a comment
|
How can I make a red_stone logic gate/gates that takes in 4 inputs but only gives an output when 1 of them is powered.
minecraft minecraft-redstone
How can I make a red_stone logic gate/gates that takes in 4 inputs but only gives an output when 1 of them is powered.
minecraft minecraft-redstone
minecraft minecraft-redstone
edited 27 mins ago
aytimothy
12.3k13 gold badges62 silver badges115 bronze badges
12.3k13 gold badges62 silver badges115 bronze badges
asked 1 hour ago
tannertanner
315 bronze badges
315 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
Being X
is your output, and A
, B
, C
and D
are your inputs,
X = ((A && !B && !C && !D) || (!A && B && !C && !D) || (!A && !B && C && !D) || (!A && !B && !C && D))
There are better methods, but this is one of the simplest to derive. &&
is an AND
gate, and ||
is an OR
gate.
The brackets group simultaneous lines/operations.
Thank you so much!
– tanner
42 mins ago
Don't forget to mark the question as correct if it is correct.
– aytimothy
29 mins ago
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "41"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f357905%2fhow-do-i-make-a-logic-gate-that-takes-4-input-and-gives-and-output-if-only-one-i%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Being X
is your output, and A
, B
, C
and D
are your inputs,
X = ((A && !B && !C && !D) || (!A && B && !C && !D) || (!A && !B && C && !D) || (!A && !B && !C && D))
There are better methods, but this is one of the simplest to derive. &&
is an AND
gate, and ||
is an OR
gate.
The brackets group simultaneous lines/operations.
Thank you so much!
– tanner
42 mins ago
Don't forget to mark the question as correct if it is correct.
– aytimothy
29 mins ago
add a comment
|
Being X
is your output, and A
, B
, C
and D
are your inputs,
X = ((A && !B && !C && !D) || (!A && B && !C && !D) || (!A && !B && C && !D) || (!A && !B && !C && D))
There are better methods, but this is one of the simplest to derive. &&
is an AND
gate, and ||
is an OR
gate.
The brackets group simultaneous lines/operations.
Thank you so much!
– tanner
42 mins ago
Don't forget to mark the question as correct if it is correct.
– aytimothy
29 mins ago
add a comment
|
Being X
is your output, and A
, B
, C
and D
are your inputs,
X = ((A && !B && !C && !D) || (!A && B && !C && !D) || (!A && !B && C && !D) || (!A && !B && !C && D))
There are better methods, but this is one of the simplest to derive. &&
is an AND
gate, and ||
is an OR
gate.
The brackets group simultaneous lines/operations.
Being X
is your output, and A
, B
, C
and D
are your inputs,
X = ((A && !B && !C && !D) || (!A && B && !C && !D) || (!A && !B && C && !D) || (!A && !B && !C && D))
There are better methods, but this is one of the simplest to derive. &&
is an AND
gate, and ||
is an OR
gate.
The brackets group simultaneous lines/operations.
answered 1 hour ago
aytimothyaytimothy
12.3k13 gold badges62 silver badges115 bronze badges
12.3k13 gold badges62 silver badges115 bronze badges
Thank you so much!
– tanner
42 mins ago
Don't forget to mark the question as correct if it is correct.
– aytimothy
29 mins ago
add a comment
|
Thank you so much!
– tanner
42 mins ago
Don't forget to mark the question as correct if it is correct.
– aytimothy
29 mins ago
Thank you so much!
– tanner
42 mins ago
Thank you so much!
– tanner
42 mins ago
Don't forget to mark the question as correct if it is correct.
– aytimothy
29 mins ago
Don't forget to mark the question as correct if it is correct.
– aytimothy
29 mins ago
add a comment
|
Thanks for contributing an answer to Arqade!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f357905%2fhow-do-i-make-a-logic-gate-that-takes-4-input-and-gives-and-output-if-only-one-i%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown