I just bought the blinkstick pro and I absolutely love it ! So I started playing aroud and I cannot make this to work
I can make all led pulse one after another one but not simultaneously. Any idea how I could achieve that ?
My code so far:
import time import math import colorsys from random import randint from blinkstick import blinkstick class Main(blinkstick.BlinkStickPro): def run(self): self.send_data_all() try: while True: for x in range(0, self.r_led_count): self.bstick.pulse(index=x, name="red") time.sleep(0.25) except KeyboardInterrupt: self.off() return # Change the number of LEDs for r_led_count main = Main(r_led_count=8, max_rgb_value=128) if main.connect(): main.run() else: print "No BlinkSticks found"
Thx in advance !