Hi,
Is there a small IC that'll take the output from an PIC and if its 0v (low) put out 5v on one pin and if its 5v (high) put out 5v on another pin?
The reason I ask is I need to multiplex 8pin DIP into my pic for addressing but only have 1 spare output to switch the 2 channels. I have setup like:
I hope that works out! ASCII normally poops up for me
anyway, the two lines at the top need to be the 2 alternating between 5v.
the 4 at the bottom are input to the chip. Alternatively if you know of an easy way to implement a resistor ladder to do this that'd be another way ok with me
computer[/code]
Is there a small IC that'll take the output from an PIC and if its 0v (low) put out 5v on one pin and if its 5v (high) put out 5v on another pin?
The reason I ask is I need to multiplex 8pin DIP into my pic for addressing but only have 1 spare output to switch the 2 channels. I have setup like:
Code:
---------.-----.-----.-----.
| | | |
---------¦--.--¦--.--¦--.--¦--.
| | | | | | | |
[:][ ][ ][:][:][ ][:][ ]
[ ][:][:][ ][ ][:][ ][:]
| | | | | | | |
'--' '--' '--' '--'
| | | |
----------' | | |
----------------' | |
----------------------' |
----------------------------'
anyway, the two lines at the top need to be the 2 alternating between 5v.
the 4 at the bottom are input to the chip. Alternatively if you know of an easy way to implement a resistor ladder to do this that'd be another way ok with me
computer[/code]