I used the Arduino Web Editor to program some WS2811 pixels.

I used the Arduino Web Editor to program some WS2811 pixels. A few weeks ago, the Demo Reel program worked fine. Today, I tried to change the number of pixels and recompile, and I started getting a bunch of “error: ‘rainbow’ was not declared in this scope” messages. Replace “rainbow” with nearly every other function called out in the program. Anyone have any insights into what’s going wrong? Thanks.

I’m guessing it’s something like a missing semicolon, but without seeing any code it’s only a guess. Post your code to http://gist.github.com and share a link, or try downloading a new copy of the demo reel program and go from there.

This is a bug that has plagued various versions of arduino on and off. Sometimes, the code during the build that is supposed to auto generate function prototypes fails, and it doesn’t generate them properly, or completely - leading to errors like this. (Arguably it is a problem that arduino tries to “help” like this and then fails). Pre-declare prototypes for the functions it is complaining about and you should be all set.

@Dennis_Moore Which version of the Arduino IDE are you using?

I was using the Web Editor, until I gave up on it. I downloaded 1.8.5 and the library to my desktop, everything worked as expected.

The program I was playing with was the Demo Reel that comes with the library. It worked with the web editor, then it didn’t.