I could put a few controllers on an SPI bus using CS to address one to all, which is neat.I was thinking about controllers daisy-chained like shift registers. Each would get a data stream off the one before and pass a data stream to the next though at/most times the data may be NULL and the chain may be circular.
I could put a few controllers on an SPI bus using CS to address one to all, which is neat.
I might want "a trigger" to loop around until a task is done and the trigger would not get passed on.If not looped, it could be a bit like command line pipes with the controllers running the commands.
what about a master controller, setup like a network switch? seems like it would be more efficient than a ring. maybe with some multiplexing/demultiplexing to handle the switching.
the copy of my "Serial ring" that i found was heavy on the use of the String object. i had a working version at some point that transferred bytes, but i can't find it.essentially, it was a leading byte to identify the start of a block, a byte for the sender address, then the receiver address, followed by the data, and a terminator byte. it worked great, if all the Arduinos booted at the exact same time. i didn't have any error correction built in, or even a checksum.though, in thinking now on it, i may revisit the idea, simply out of curiosity if i can improve it.~Travis