I would like RGB LED chip WS2812B used as a signal LED and thus seeking what the easiest way over 1Wire bus WS2812B set basic colors with one or two LEDs. This approach me for one LED comes complicated mikrocontroller.bplaced.net/.../
A simple idea?
This specific protocol is fast for using interrupts for each I/O pin toggle. But it is still so slow that it isn't fun to turn off interrupts while busy-waiting - especially when the number of chained LED:s is high, since all bits has to be sent out in a sequence to control the last LED in the chain.
So SPI with FIFO or DMA would be the optimal hardware-acceleration. SPI is lovely to hardware-accelerate a number of serial protocols.
SPI is lovely to hardware-accelerate a number of serial protocols.
At the risk of making this thread sound like an SPI love-fest, I have to say that I totally agree.