LedIndex is a byte, so 256 LEDs is the maximum possible
jaymis opened this issue · 1 comments
jaymis commented
In LPD6803.cpp, line 27:
static byte LedIndex; // Used in interrupt - Which LED we are sending.
Because this variable is a byte, if we use a string of more than 256 LEDs, the ones beyond 256 seem to start from zero with the signals they receive.
Changing the "byte" to a "unint16" fixed this issue for me, but I'm not sure this is the best method.
Deleted user commented
fixed