fixed color demo rgb
This commit is contained in:
parent
5abf5d8a76
commit
058f0885f0
1 changed files with 2 additions and 2 deletions
|
|
@ -26,6 +26,6 @@ while True:
|
||||||
print("blue: ", b)
|
print("blue: ", b)
|
||||||
print("clear: ", c)
|
print("clear: ", c)
|
||||||
|
|
||||||
print("color temp {}".format(colorutility.calculate_color_temperature(r, b, g)))
|
print("color temp {}".format(colorutility.calculate_color_temperature(r, g, b)))
|
||||||
print("light lux {}".format(colorutility.calculate_lux(r, b, g)))
|
print("light lux {}".format(colorutility.calculate_lux(r, g, b)))
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue