Skip to content

Commit 57fe917

Browse files
authored
adding examples for access Clear and NIR channels
1 parent 539ad2b commit 57fe917

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/as7341_simpletest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@ def bar_graph(read_value):
2323
print("F6 - 590nm/Yellow %s" % bar_graph(sensor.channel_590nm))
2424
print("F7 - 630nm/Orange %s" % bar_graph(sensor.channel_630nm))
2525
print("F8 - 680nm/Red %s" % bar_graph(sensor.channel_680nm))
26+
print("Clear %s" % bar_graph(sensor.channel_clear))
27+
print("Near-IR (NIR) %s" % bar_graph(sensor.channel_nir))
2628
print("\n------------------------------------------------")
2729
sleep(1)

0 commit comments

Comments
 (0)