Arduino controlled NeoPixel 300 LED strip, code only works if I specify 295 LEDs? Answered
I am controlling a 5m (60 LEDs/m) NeoPixel RGBW LED strip with an Arduino Uno. When using the NeoPixel library you specify the number of LEDs connected to the Arduino. On another LED strip (1m @ 144LEDs/m) specifying more LEDs than are on the strip will just send data to the imaginary LEDs and the rest of the strip will still work. On the 5m strip it will only work if I specify 295 or less; specifying more than 295 makes the whole strip freeze. Only specifying 295 leaves 5 LEDs at the end that don't light up at all.
Any ideas why that might be?