Skip to content

Commit 4c46868

Browse files
author
KTOWN
committed
Labeled values
1 parent 457b4d0 commit 4c46868

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_TCS34725/Adafruit_TCS34725_Example.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
colorTemp = tcs.calculateColorTemperature(rgb)
1717
lux = tcs.calculateLux(rgb)
1818
print rgb
19-
print colorTemp
20-
print lux
19+
print "Color Temperature: %d K" % colorTemp
20+
print "Luminosity: %d lux" % lux
2121
tcs.setInterrupt(True)
2222
sleep(1)
2323
tcs.disable()

0 commit comments

Comments
 (0)