Skip to content

Commit 6512226

Browse files
authored
Merge pull request #1 from mrmcwethy/setpina1
changed example to match README.rst
2 parents 2f28492 + 9e22a80 commit 6512226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/proximity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from adafruit_apds9960.apds9960 import APDS9960
55

66
i2c = busio.I2C(board.SCL, board.SDA)
7-
int_pin = digitalio.DigitalInOut(board.A2)
7+
int_pin = digitalio.DigitalInOut(board.A1)
88
apds = APDS9960(i2c, interrupt_pin=int_pin)
99

1010
apds.enable_proximity = True

0 commit comments

Comments
 (0)