ArduinoAPDS9960 : APDS class
Sets APDS chip interrupt pin.
The library tries to set the correct interrupt pin automatically based on available board data. This function may be used in case the default 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.
pin - the board pin where the sensor interrupt pin is connected, or -1 if not connected.
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.