You are looking for a shift register. Takes three pins to run 8 out puts, 4pins for 16 out puts if you use two.
If I remember a part number HC595. That might be for in put. They have them for both.
You are looking for a shift register. Takes three pins to run 8 out puts, 4pins for 16 out puts if you use two.
If I remember a part number HC595. That might be for in put. They have them for both.
Dave
Always wear safety glasses while programming.
This kind of thing. I know there are Demultiplexers (I have the datasheet) but I need a device where I have an input and a strobe line and multiple outputs. Everytime I use the strobe I switch to the next outpput :'(
I don't have 4 outputs left on my PIC.
Just a thought to make one.
Find a PIC with enough I/Os. 1 input and 16? outputs.
Code something like..
If PIN_IN is high then
count = count +1
If count = 1 then high LED1
If count = 2 then high LED2
so on and so on...
If count = 17 then count = 0
Start over.
Every time PIN_IN goes high the counter increases.
Dave
Always wear safety glasses while programming.
4017 is what you need.
You can have as many as you want with cascading.
A single pulse is good enough for all.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
That's exactly what I was searching for.
Thank you for your help!
Bookmarks