import hyperion, time # Get the parameters sleepTime = float(hyperion.args.get('sleepTime', 1000))/1000.0 length = hyperion.args.get('length', 1) color1 = hyperion.args.get('color1', (255,255,255)) color2 = hyperion.args.get('color2', (255,0,0)) # Initialize the led data i = 0 ledDataOdd = bytearray() while i < hyperion.ledCount: for l in range(length): if i