We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e9bc113 + 4b279d3 commit 00097f8Copy full SHA for 00097f8
examples/ltr303_advancedtest.py
@@ -35,7 +35,8 @@
35
# The interrupt output can be enabled
36
ltr303.enable_int = True
37
# We can also change whether the polarity is active LOW (False) or HIGH (True)
38
-ltr303.int_polarity = True
+# Default is LOW (False)
39
+ltr303.int_polarity = False
40
41
# Then set the low and high thresholds that would trigger an IRQ!
42
ltr303.threshold_low = 2000 # interrupt goes off if BELOW this number
0 commit comments