but after making the code modification it was still not working. After some more research I found that I needed to change the 3.3v wire to a ground wire. I think that you should include a line about that in the documentation. Maybe also include it on the "wiring" tab too.Because we are using a common anode RGB LED, we will need to flip the incoming RGB values. We do this by subtracting the values from 255 before sending the values to analogWrite.
If you are using a common cathode RGB LED, you can send the values directly to analogWrite from data->toRed(), data->toGreen(), and data->toBlue().
I mean I do see that it says
but honestly I did not know there were two different types of leds or how to tell the difference until I read this page...1x diffused RGB LED - common anode
https://randomnerdtutorials.com/electro ... n%20anode.
That is all. Hope that I can help improve the example for others.