ws2812-spi icon indicating copy to clipboard operation
ws2812-spi copied to clipboard

python routines to program the WS2812 RGB LED chips on the raspberry, using the hardware SPI MOSI.

Results 11 ws2812-spi issues
Sort by recently updated
recently updated
newest added

I'm running wave.py on my OrangePi 3 LTS, connected to a 256 LED strip occasionally, every few seconds I'm see a high intensity flash from all the LEDs I tried...

Hi all, Im trying the py, but the led color order is GRB instead of RGB.any solution? Thnaks!

Thank you for writing this utility. I have just used it on the BananaPi R1 (but should apply to other sunxi platforms). I had to modify ws2812.py to use write2812_pylist4()...

I am wondering how you tweaked the parameters of `xfer(...)`, is there a logical explanation around these attempts to select the right speed or are they purely empirical? https://github.com/joosteto/ws2812-spi/blob/master/ws2812.py#L41-L52 Have...

I faced a problem when I was trying to use your library. I try code below where each of 30 leds has 255;255;255 color, but it didn't work, although where...

When running python code: import spidev import ws2812 spi = spidev.SpiDev() spi.open(0,0) #write 4 WS2812's, with the following colors: red, green, blue, yellow ws2812.write2812(spi, [[10,0,0], [0,10,0], [0,0,10], [10, 10, 0]])...

I'm experiencing some issues when driving 6 or more pixels. It seems that the SPI lib or hardware inserts a small delay of 5µs eacht 60-70 bytes transferred. [screenshot](https://ibb.co/mD9vZx) I...

Following directions for testing, fails: >>> import spidev >>> import ws2812 >>> spi = spidev.SpiDev() >>> spi.open(0,0) >>> ws2812.write2812(spi, [[10,0,0], [0,10,0], [0,0,10], [10, 10, 0]]) Traceback (most recent call last):...

specifically support for the OrangePi Zero

- Don't use numpy for ws2812 anymore. Instead, use lookup tables for encoding one byte to 3 bytes output (oversampling by a factor of 3). I've looked up the idea...