blinkstick-python icon indicating copy to clipboard operation
blinkstick-python copied to clipboard

How can I set light intensity?

Open Arch-druid opened this issue 2 years ago • 1 comments

Going through the API documentation and I am unable to determine the command that regulates light intensity of a single LED unit. Is there a way to access that feature or is it inaccessible currently with the capabilities of the Python API for the blinkstick?

Arch-druid avatar Mar 05 '22 06:03 Arch-druid

Hi! I got a similar effect like this: (if this is what you are looking for)

    while True:
        for i in range(0,255,5):
            bstick.set_color(red=i, green=0, blue=0)
            time.sleep(0.05)
        for i in range(255,0,-5):
            bstick.set_color(red=i, green=0, blue=0)
            time.sleep(0.05)   

dolikemedo avatar Jun 07 '22 11:06 dolikemedo