How to switch 8 lines
bytor95
Posts: 53
Hi,
I've been building a tide calculator and plan on showing the present tide height and the next high/low height using a 8x8 LED matrix (see attached photo).
I'm using a MAX7219 controller so I'm only able to show either red LED's or green because the 8 lines go to the red (or green) lines and the 8 other lines out of the MAX7219 go to the common cathode lines.
Now to make the display more interesting, all I'm really looking for is:
Tide going high (Show all Green)
Tide going low (Show all Red)
Is there a chip (like a seperate CMOS chip) that would "switch" the 8 anode contacts between 8 green LED's and 8 red LED's? I was hoping the basic stamp can just use one more pin to achieve this:
"0" = Green
"1" = Red
I hope I explained it right.
Thanks in advance!
Engin
Post Edited (bytor95) : 3/19/2007 7:49:30 PM GMT
I've been building a tide calculator and plan on showing the present tide height and the next high/low height using a 8x8 LED matrix (see attached photo).
I'm using a MAX7219 controller so I'm only able to show either red LED's or green because the 8 lines go to the red (or green) lines and the 8 other lines out of the MAX7219 go to the common cathode lines.
Now to make the display more interesting, all I'm really looking for is:
Tide going high (Show all Green)
Tide going low (Show all Red)
Is there a chip (like a seperate CMOS chip) that would "switch" the 8 anode contacts between 8 green LED's and 8 red LED's? I was hoping the basic stamp can just use one more pin to achieve this:
"0" = Green
"1" = Red
I hope I explained it right.
Thanks in advance!
Engin
Post Edited (bytor95) : 3/19/2007 7:49:30 PM GMT
Comments
It seemed like you replied to my question before I hit the submit button, thanks!
I'm using the BS2SX so I don't think I have the dedicated I2C pins.
Engin
I'll look into the optocoupler method right now. I can tolerate using two I/O pins so that may be a great solution. Thank you very much.
Engin
When you get a chance, can you recommend a particular quad optocoupler? I've never used them before.
Thanks again,
Engin
I just read through the one you linked and now I understand. I think that would work very intuitively.
Thanks,
Engin