Page 1 of 1
WS2811 Component
Posted: Tue Mar 20, 2018 9:13 am
by mnf
In the WS2811 component the Red and Green arguments seem to be swapped (or just mislabeled)
So SetAllLEDColour(0, 255, 0) gives a RED string of LEDs instead of green...
Martin
Re: WS2811 Component
Posted: Tue Mar 20, 2018 12:18 pm
by Benj
Thanks Martin,
I'll look into this problem for you. On some of the LEDs we have here the Red and Green is swapped, I wonder if this is by design and open to be manufactured differently based on supplier or a mistake on the batch of LEDs we bought in? Either way I shhould be able to add the option as a property to suit both implementations.
I have a love hate relationship with these no brand Chinese products
Re: WS2811 Component
Posted: Wed Mar 21, 2018 7:13 pm
by STibor
Hello!
The WS28xx LED component can be manually parameterized.
Very good component.
One difficulty, interruptions (int, port) cause faulty display.
Re: WS2811 Component
Posted: Wed Mar 21, 2018 9:43 pm
by mnf
Swapping to WS2812 - swaps green / red and could be that is what the chips are... No distinguishing markings - a bit like sexing penguins. (They seem pretty much compatible apart from the colour order)
I got myself into all sorts of confusion - as the colours in my 24 bit bitmap don't seem to be in BGR format promised by the wikipedia page. Still I managed to get bitmaps off SD card and onto a string of LEDs in a pleasing manner.
Martin
Re: WS2811 Component
Posted: Fri Apr 20, 2018 11:56 am
by STibor
Hello!
Controller: Arduino Nano (Atmega328 smd @ 16MHz)
The WS2812 LED does not work when data output is D0 and D1 (uart rx / tx).
Version Flowcode v7.2.1.4 here in the office, would not update if not needed (many projects would be affected by the upgrade).