From b483c0f1ac2e034181ca84b7a24a08475af74a5c Mon Sep 17 00:00:00 2001 From: siddacious Date: Tue, 25 Jun 2019 16:05:08 -0700 Subject: [PATCH] adding the vcnl4040 driver --- .gitmodules | 3 +++ docs/drivers.rst | 1 + libraries/drivers/vcnl4040 | 1 + 3 files changed, 5 insertions(+) create mode 160000 libraries/drivers/vcnl4040 diff --git a/.gitmodules b/.gitmodules index 42795ccb..020b78cd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -478,3 +478,6 @@ [submodule "libraries/helpers/pyoa"] path = libraries/helpers/pyoa url = https://github.com/adafruit/Adafruit_CircuitPython_PYOA +[submodule "libraries/drivers/vcnl4040"] + path = libraries/drivers/vcnl4040 + url = https://github.com/adafruit/Adafruit_CircuitPython_VCNL4040.git diff --git a/docs/drivers.rst b/docs/drivers.rst index a03f7226..a2f72e24 100644 --- a/docs/drivers.rst +++ b/docs/drivers.rst @@ -191,6 +191,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 + VCNL4040 Proximity and Light VEML6070 UV Index VEML6075 UV Index VEML7700 High Accuracy Ambient Light Sensor diff --git a/libraries/drivers/vcnl4040 b/libraries/drivers/vcnl4040 new file mode 160000 index 00000000..55a924ef --- /dev/null +++ b/libraries/drivers/vcnl4040 @@ -0,0 +1 @@ +Subproject commit 55a924efdb230d80831ab4cff90c9d84b147a6a0