Skip to content

Commit 058f088

Browse files
committed
fixed color demo rgb
1 parent 5abf5d8 commit 058f088

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
print("blue: ", b)
2727
print("clear: ", c)
2828

29-
print("color temp {}".format(colorutility.calculate_color_temperature(r, b, g)))
30-
print("light lux {}".format(colorutility.calculate_lux(r, b, g)))
29+
print("color temp {}".format(colorutility.calculate_color_temperature(r, g, b)))
30+
print("light lux {}".format(colorutility.calculate_lux(r, g, b)))
3131
time.sleep(0.5)

0 commit comments

Comments
 (0)