jgarff / rpi_ws281x

Userspace Raspberry Pi PWM library for WS281X LEDs
BSD 2-Clause "Simplified" License
1.76k stars 619 forks source link

use fill #398

Closed qiwalker closed 2 years ago

qiwalker commented 4 years ago

hi, need some help i have 20 ws2812 RGB i want to light up all the LED to green color i try to use strip.fill((0, 255, 0)) nothing happen :(

Xartrick commented 4 years ago

Hey there!

We need more information about your issue if you want us to help you. I will assume you're using the Python bindings.

Also, can you give use details about your wiring and also a piece of code you use?

Thank you.

penfold42 commented 4 years ago

Are you calling strip.show()

Do the examples work for you ?

up2smoke commented 3 years ago

+1 how do you put all LEDs of a strip on the same color?

Gadgetoid commented 2 years ago

This looks like a Python question. If this is still a problem you can raise an issue over on the Python bindings - https://github.com/rpi-ws281x/rpi-ws281x-python