Updating one shift register in a daisy chain

Hello :slight_smile:

I'm trying to write a "more efficient" library for the 74HC595 shift registers.

I was trying to make a function "update( device )" which would update only the byte of the specified shift register. But I feel that, by design, the shift registers do not allow that, and that I'm forced to update the bytes of every registers in the chain, even if I just change a single bit of a single shift register.

Am I right assuming I can't update a single shift register?

Note: I don't totally understand how those shift registers work, I'm just rewritting an existing library :slight_smile:

You are correct. Use SPI, blast the whole chain out really quick.

guix:
I'm trying to write a "more efficient" library for the 74HC595 shift registers.
...
Note: I don't totally understand how those shift registers work

It might be a good idea to find out...

Thanks :slight_smile: