Sets APDS chip interrupt pin. The library tries to set the correct interrupt pin automatically based on the available board data. This function may be used in case the default pin is not correct or not available. The sensor is read even if the interrupt pin is not set or automatically found; setting the interrupt pin manually, if not automatically found, will increase performance.
APDS.setInterruptPin(pin)
None.
APDS.setInterruptPin(x);