Skip to content


Repository files navigation

Adafruit VCNL4040 Build Status

This is the Adafruit VCNL4040 proximity and ambient light sensor library for Arduino

Tested and works great with the Adafruit VCNL4040 Breakout Board Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

This chip uses I2C to communicate, 2 pins are required to interface



Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Documentation and doxygen

Documentation is produced by doxygen. Contributions should include documentation for any new code added.

Some examples of how to use doxygen can be found in these guide pages:

Written by Bryan Siepert for Adafruit Industries. BSD license, check license.txt for more information All text above must be included in any redistribution

To install, use the Arduino Library Manager and search for "Adafruit VCNL4040" and install the library.