Forum: µC & Digital Electronics Using WS2812B with a dsPIC30f4013 µC

von Adrien M. (thepigeon)

Rate this post
0 useful
not useful
Hi there,

I'm doing a project which uses WS2812b addressable LEDs, but I cannot 
figure out how to use them. I want to try with only one LED at first 
then the idea is to use 16 LEDs to make a 4*4 matrix.

Obviously, I already tried to look at the component documentation, 
doesn't help (I only got the colour control part from it with the 24bit 

I also tried to look for already existing projects. But what I found 
mostly uses Arudinos with library's I don't have/find or understand. (I 
could try to copy/paste stuff and try to change to change it until it 
somehow works, but the idea is to understand it).

Could you please explain to me how it works? How to send the RGB (GRB in 
the case of the WS2812b) values for one and multiple LEDs?

Thank you,

P.S.: If you have any datasheet other than the one made by 
"www.world-semi.com" I would appreciate.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.