Skip to content

Commit 3ccf54d

Browse files
committed
Add commented out line in simple test for initializing sensor with offset
1 parent 008ac3a commit 3ccf54d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/vl6180x_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
# Create sensor instance.
1919
sensor = adafruit_vl6180x.VL6180X(i2c)
20+
# sensor = adafruit_vl6180x.VL6180X(i2c) # This would add a +10 millimeter offset to all measurements:
2021

2122
# Main loop prints the range and lux every second:
2223
while True:

0 commit comments

Comments
 (0)