pico_python_ws2812b icon indicating copy to clipboard operation
pico_python_ws2812b copied to clipboard

mixed Green and Blue in leds1.set_pixel(x,a,b,c)

Open lamasek opened this issue 4 years ago • 2 comments

When I use leds1.set_pixel it is leds1.set_pixel(x,Red,Blue,Green) instead of usual and documentred Red, Green Blue. In leds1.fill(i,i,i) is OK.

lamasek avatar Apr 26 '21 20:04 lamasek

Some LEDs take the colours in a different order. It should be possible to customise the order the data is sent in, but it's not something I've implemented yet.

benevpi avatar Apr 27 '21 10:04 benevpi

thanks for advice, you were right - i have BGR LED strip (sold as RGB)

ps. finally i used WLED project here (have good android app included) and is good for this usage, but for future i will need also my own micropython code

On 27. 04. 21 12:30, benevpi wrote:

Some LEDs take the colours in a different order. It should be possible to customise the order the data is sent in, but it's not something I've implemented yet.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/benevpi/pico_python_ws2812b/issues/16#issuecomment-827499485, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANSWZCO36354GHX3GUYOPA3TK2G6FANCNFSM43TVDOKA.

lamasek avatar Sep 15 '21 12:09 lamasek