arduino uno – Please suggest any IC like a demux or decode or logic

0
34

Please suggest any IC like a demultiplexer or decoder (or logic) that would work such that when I select any particular pin that should make that particular pin HIGH as with a demux/decoder, and when I select the next output it should retain the previous output.

For example, the current demux outputs are:

in s0 out1  out2
1  0   1    0     //for in=1
1  1   0    1
0  0   0    0     //for in=0
0  1   0    0

What I need is

in s0 out1 out2   
1  0   1    0     //for in=1
1  1   1    1
0  0   0    1     //for in=0
0  1   0    0

LEAVE A REPLY

Please enter your comment!
Please enter your name here