Hi,
Are there any chips out there that have all the following on 1 chip?
AND gate
NAND gate
2 AND gates with inverted inputs.
The reason I ask is I need to free up a couple of pins on my PIC chip. I am currently outputing 4 different values on 4 pins. What I want to do is output the 4 different values on 2 pins and use these gates to get the 4 results...i.e.
0 + 0 = 1
0 + 1 = 2
1 + 0 = 3
1 + 1 = 4
NAND is the first, AND with 2nd inverted input is second, AND with first inverted input is third, and AND is fourth.
I suppose I could do it with 2 NOT gates and 4 AND gates.
Cheers,
Craig
Are there any chips out there that have all the following on 1 chip?
AND gate
NAND gate
2 AND gates with inverted inputs.
The reason I ask is I need to free up a couple of pins on my PIC chip. I am currently outputing 4 different values on 4 pins. What I want to do is output the 4 different values on 2 pins and use these gates to get the 4 results...i.e.
0 + 0 = 1
0 + 1 = 2
1 + 0 = 3
1 + 1 = 4
NAND is the first, AND with 2nd inverted input is second, AND with first inverted input is third, and AND is fourth.
I suppose I could do it with 2 NOT gates and 4 AND gates.
Cheers,
Craig
Last edited: