You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • @Robet, the Knightrider thing sounds like a good place to start...

    Personally, I'd keep using Uint8Array - It uses less memory and it's faster, but otherwise it's just like a normal array.

    And instead of a delay, you'll want to use setInterval to call your code maybe 5 times a second (200ms)...

    Let us know if you need any pointers... The only thing to note is depending on your LEDs (WS2811 or WS2812) red, green and blue are in different order - but if it's not right it's easy enough to experiment :)


Avatar for Gordon @Gordon started