I finally got a chance to play with v2 of the library. First go at it and the WS2801 string I’m testing just went berserk … much like when I forgot to set a data rate on the v1 library. I did the obvious and inserted a .setDataRate() line only to have it barf at me. A bit of digging revealed that no longer exists, but instead the fourth parameter in the construct is now the speed. Tried my usual data rate of ‘2’ and that didn’t work. Turns out I had to bump it all the way to 16 to get the example sketch to even run on a 32 pixel string. Anything less than that and only part of the string would light up.
So I wonder … what does the speed relate to. I know Daniel said the speed parameter goes from 0 to 255, but what does that relate to, and how does it related to the old library? With my SD Card Readers, which are SPI devices, I’m able to set the speed with SPI_FULL, SPI_HALF, SPI_QUARTER, etc., etc. That makes sense to me. But to have a range from 0 to 255 …?