I\'m trying to port this C++ code to Python, I have an RGB (WS2812) led strip connected to my raspberry pi.
The following example is from neopixel(arduino) and it is