I’m trying to use COLOR objects just like in the example in the ledstrip section, but I cant get it to work.
COLOR red(255,0,0); //COLOR* red = new COLOR(255,0,0);
Neither lines of code will compile. I get error:
new initializer expression list treated as compound expression [-fpermissive]. It seems to not like the (255, 0, 0). Is there more documentation on the COLOR class, because it’s hard to debug with the little information provided. Ultimately I’m trying to fill an array with COLOR objects so the color of the blade can be cycled with a momentary push button using a rising interrupt.