Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Is there such a device, or do I have to do this using multiple gates? I have a project where it would be handy to have a pair of inputs, and by using a third input change the gate from an AND to an OR gate.
Three 2-input exclusive-OR gates, one placed at each input and one at the output of an AND gate, is another option. An XOR gate acts like a controllable inverter. One input of each XOR is the control input and the other inputs are the signal inputs. When the control input of all XORs are low, the output with be the AND function. When the control input of all XORs are high, the output will be the OR function.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.