Ray
You can use SPI to drive the shift register, the only difference is that instead of pulling a chip select line low during the transfer, you pulse the latch after all bits are shifted out. This won't interefere with other SPI devices on the bus, as long as you don't assert their chip select line.
Talking to other devices on the bus will change the internal state of the shift register, but that's not an issue, since the outputs won't change.
lethe wrote:The output of the shift register only change, when you pulse the latch line (RCLK on 74HC595), so it does not matter how fast or slow you shift out your data, all outputs will change at the same time.
You can use SPI to drive the shift register, the only difference is that instead of pulling a chip select line low during the transfer, you pulse the latch after all bits are shifted out. This won't interefere with other SPI devices on the bus, as long as you don't assert their chip select line.
Talking to other devices on the bus will change the internal state of the shift register, but that's not an issue, since the outputs won't change.
Wow interesting. So what you are saying I can use the spi bus add both digital and analog pins. So use the 74hc595 for digital and a mcp3008 for analog pins.