adammhaile / RPi-LPD8806

DEPRECATED!!! Checkout the new library, BiblioPixel - Follow the linked website.
https://github.com/ManiacalLabs/BiblioPixel
69 stars 28 forks source link

BUG: last pixel does not update correctly #19

Open ghost opened 10 years ago

ghost commented 10 years ago

Hi,

I can't update the very last led of my 192 pixels ledstrip. All other leds are working fine. Here is an example. For reference led number 191 is the last pixel.

led.set(191, color)
led.update()

This is not working. However when I call led.update() twice it is working fine.

led.set(191, color)
led.update()
led.update()

any idea what can cause this strange behaviour?

ghost commented 10 years ago

I want to specify that this bug depends on the color value that you want to update with. for example, if you set the last led to rgb(255,0,0) and you do an update nothing happens unless you update again (in this case the led turns red). For some color values the last led displays a wrong color during the initial/first update.

adammhaile commented 10 years ago

hmmm... sounds like noise on the data lines. How long is the strip?