Skip to content

Commit bedf020

Browse files
authored
Update apds9960_proximity_simpletest.py
use a universally known pin
1 parent ab802b2 commit bedf020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/apds9960_proximity_simpletest.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.A1)
7+
int_pin = digitalio.DigitalInOut(board.D5)
88
apds = APDS9960(i2c, interrupt_pin=int_pin)
99

1010
apds.enable_proximity = True

0 commit comments

Comments
 (0)