From 8f3ba132ef26ece936c654edd0e78425fc2ad5fb Mon Sep 17 00:00:00 2001 From: siddacious Date: Tue, 30 Jun 2020 20:09:13 -0700 Subject: [PATCH] adding a noice ambient light sensor --- .gitmodules | 3 +++ docs/drivers.rst | 1 + libraries/drivers/bh1750 | 1 + 3 files changed, 5 insertions(+) create mode 160000 libraries/drivers/bh1750 diff --git a/.gitmodules b/.gitmodules index 6f600c1e..7f7dc3cd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -700,3 +700,6 @@ [submodule "libraries/drivers/pcf8591"] path = libraries/drivers/pcf8591 url = https://github.com/adafruit/Adafruit_CircuitPython_PCF8591.git +[submodule "libraries/drivers/bh1750"] + path = libraries/drivers/bh1750 + url = https://github.com/adafruit/Adafruit_CircuitPython_BH1750.git diff --git a/docs/drivers.rst b/docs/drivers.rst index 8876dcfa..8218c166 100644 --- a/docs/drivers.rst +++ b/docs/drivers.rst @@ -366,6 +366,7 @@ These sensors detect light related attributes such as ``color``, ``light`` (unit APDS9960 Proximity, Light, RGB, and Gesture AS726x Color Spectrum Sensor + BH1750 Ambient Light TCS34725 Color Sensor TSL2561 Light Sensor TSL2591 High Dynamic Range Light Sensor diff --git a/libraries/drivers/bh1750 b/libraries/drivers/bh1750 new file mode 160000 index 00000000..c55bda84 --- /dev/null +++ b/libraries/drivers/bh1750 @@ -0,0 +1 @@ +Subproject commit c55bda840623ae6f22589fb8187b42a3cc1ffaa7