arvydas / blinkstick-python

BlinkStick Python interface to control devices connected to the computer
Other
136 stars 53 forks source link

BlinkStick Strip: pulse() set first LED to black #52

Open dublok opened 7 years ago

dublok commented 7 years ago

For "BlinkStick Strip": calling pulse() with index > 0 set first LED to dark.

def first_led_black_error():
    stick = blinkstick.find_first()
    # all white
    for i in range(8):
        stick.set_color(0, index=i, name='white')
    # pulses 4th LED but first LED gets black
    stick.pulse(0, index=4, name='red', repeats=3)
Findarato commented 3 years ago

Does your code ever result in the first led lighting up?