Hi,
I just want to report that I tested this sketch.
It runs fine up to #define NUM_PIXELS 315
But with higher NUM_PIXELS it seems not to work, no idea why.
(I wanted to run up to 600 NUM_PIXELS. With other sketches my hardware runs without any issue)
Thanks a lot and best regards,
Chris