Jump to content

RGB hue sweep


TK.

Recommended Posts

It seems that I've got it working. I changed in ws2812.c this line

#define WS2812_BUFFER_SIZE      (((WS2812_NUM_LEDS+2)*24)) // +2*24 to insert the RESET frame

to

#define WS2812_BUFFER_SIZE      (((WS2812_NUM_LEDS+2)*24)+200) // +2*24 to insert the RESET frame

because of the 300us reset, the 2017 WS2812B need.

The LEDs are now working. I didn't do a mass-test, but it looks promising.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...