#!/usr/bin/python3 from omnia import leds from random import randint from time import sleep strip = leds.LedStrip(leds.omnia_led_order) def random(): # Víc kvantizované return randint(1, 4)*64 while True: for led in strip: led.set(leds.LedState( r = random(), g = random(), b = random(), brightness = random(), autonomous = False, )) sleep(.25)