Go Down

Topic: Updating one shift register in a daisy chain (Read 703 times) previous topic - next topic

guix

Hello :)

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 :)

CrossRoads

You are correct.  Use SPI, blast the whole chain out really quick.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

fungus


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...

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

guix


Go Up