Exemple #1
0
def setValue(value):
    light.stopAnim()
    light.setValue(value)
    light.update()
    return repr(light.getColor())
Exemple #2
0
def off():
    light.stopAnim()
    light.setValue(0)
    light.update()
    return repr(light.getColor())