Skip to content

Commit 00097f8

Browse files
authored
Merge pull request #5 from kattni/polarity-revert
Return polarity to False.
2 parents e9bc113 + 4b279d3 commit 00097f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/ltr303_advancedtest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
# The interrupt output can be enabled
3636
ltr303.enable_int = True
3737
# We can also change whether the polarity is active LOW (False) or HIGH (True)
38-
ltr303.int_polarity = True
38+
# Default is LOW (False)
39+
ltr303.int_polarity = False
3940

4041
# Then set the low and high thresholds that would trigger an IRQ!
4142
ltr303.threshold_low = 2000 # interrupt goes off if BELOW this number

0 commit comments

Comments
 (0)