APDS9960 with Adafruit library use all sensors in same time

Hi I have APDS9960 sensor and useng Adafruit library:
GitHub - adafruit/Adafruit_APDS9960: Arduino drivers for APDS9960 gesture sensor

How can I use all sensors in same time? color sensor, gesture senor and proximity sensor?

You may or may-not be able to combine multiple sensors: it all depends on how sophisticated your selected microcontroller board. (& your ability to code around conflicts.)
Mainly you need be careful with I2C sensors that have separate bus addresses and for multiple SPI devices, you will need an I/O free for enabling the selected device. Finally, libraries take both flash & SRAM, so the more libraries, the more resources.

Pick your sensors then Internet search for combined examples. Combining libraries is like highschool chemistry, some mixtures simply do not combine safely.
Sensors, Humidity Products Category on Adafruit Industries

It is one sensor

... my bad.

Adafruit_APDS9960/examples at master · adafruit/Adafruit_APDS9960 · GitHub
image

Above shows 3 examples. You need to combine the code.
arduino combining multiple sketches at DuckDuckGo

So, and how can I use all in same time?

With this I have problem.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.