diff --git a/.gitmodules b/.gitmodules index 6775dba7..f7c98ad4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -974,3 +974,6 @@ [submodule "libraries/drivers/cst8xx"] path = libraries/drivers/cst8xx url = https://github.com/adafruit/Adafruit_CircuitPython_CST8XX.git +[submodule "libraries/drivers/vcnl4020"] + path = libraries/drivers/libraries/drivers/vcnl4020 + url = https://github.com/adafruit/Adafruit_CircuitPython_VCNL4020.git diff --git a/docs/drivers.rst b/docs/drivers.rst index d235f464..8f682a5b 100644 --- a/docs/drivers.rst +++ b/docs/drivers.rst @@ -437,6 +437,7 @@ These sensors detect light related attributes such as ``color``, ``light`` (unit TSL2561 Light Sensor TSL2591 High Dynamic Range Light Sensor VCNL4010 Proximity and Light + VCNL4020 Proximity and Light VCNL4040 Proximity and Light VEML6070 UV Index VEML6075 UV Index diff --git a/libraries/drivers/libraries/drivers/vcnl4020 b/libraries/drivers/libraries/drivers/vcnl4020 new file mode 160000 index 00000000..7bfb633a --- /dev/null +++ b/libraries/drivers/libraries/drivers/vcnl4020 @@ -0,0 +1 @@ +Subproject commit 7bfb633a3e621d25bfdbcf256243d87097c0b9d7