WS2812 RGBW

Questions and discussion about The WiPy 1.0 board and CC3200 boards.
Target audience: Users with a WiPy 1.0 or CC3200 board.
Post Reply
rodrigob
Posts: 15
Joined: Sun Aug 30, 2015 7:41 am

WS2812 RGBW

Post by rodrigob » Sun Jun 05, 2016 12:42 pm

Hi all,

I have a chain of neopixels; instead of normal RGB these are RGBW pixels.

The provided WS2812 library worked fine for RGB pixels, and now I am trying to modify it to handle RGBW pixels.
I did a similar port for the RPI2 library ( https://github.com/rodrigob/rpi_ws281x/commits/master ), but from my first attempts I am not having success when modifying https://github.com/wipy/wipy/blob/maste ... /ws2812.py

I changed the bytes counts to handle 4 bytes per pixel (everywhere I could see), and the "for x in" inside the update function.
Yet, results are still off.

Has anyone tried to do the same ? Should the bits array also be modified (not clear how/why) ?

Also there is a bug report at the end of
http://forum.micropython.org/viewtopic.php?f=11&t=1103
which seems not included in https://github.com/wipy/wipy/blob/maste ... /ws2812.py
I tried it, without seeing a difference.

Thanks for your help !

rodrigob
Posts: 15
Joined: Sun Aug 30, 2015 7:41 am

Re: WS2812 RGBW

Post by rodrigob » Mon Jun 06, 2016 10:27 pm

Alright, got things working.
The main issue I had was: the LED jumper on the development board.

Found
http://forum.micropython.org/viewtopic. ... 3&start=10

once removed, got things running smoothly.

Now I am facing performance issues (LED animations are too slow). :(

Post Reply