Closed Devilscave closed 1 year ago
I copied the three lines you mention into a test sketch and didn't see any compile issues. What environment are you using (Arduino IDE or PlatformIO) and what microprocessor? If you can post your complete sketch, I'll take a look further.
I use a ESP8266F Board and Arduino IDE 1.8.19. For legal reasons, I cannot post the entire code. I will try again to complain in a different sketch. Thanks
its OK i am stupid
As the heading says, how can I change the colors of non -changeable effects except to change in modes.cpp. How do I determine which color gets which value. The example of the main page:
uint32_t colors[] = {RED, GREEN}; ws2812fx.setSegment(0, 0, (LED_COUNT/2)-1, FX_MODE_BLINK, colors, 1000, false); ws2812fx.setSegment(1, LED_COUNT/2, LED_COUNT-1, FX_MODE_BLINK, COLORS(ORANGE, PURPLE), 1000, false);
it does not work. It always comes the mistake
colors cannot be used as a funktion