From 2449f87e162049ed189d3bdce016f23eb83bbf7a Mon Sep 17 00:00:00 2001 From: Liz Date: Fri, 12 Jan 2024 11:36:42 -0500 Subject: [PATCH] adding MCP3421 --- .gitmodules | 3 +++ docs/drivers.rst | 1 + libraries/drivers/mcp3421 | 1 + 3 files changed, 5 insertions(+) create mode 160000 libraries/drivers/mcp3421 diff --git a/.gitmodules b/.gitmodules index 1d923356..6441675f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -989,3 +989,6 @@ [submodule "libraries/drivers/ft5336"] path = libraries/drivers/ft5336 url = https://github.com/adafruit/Adafruit_CircuitPython_FT5336.git +[submodule "libraries/drivers/mcp3421"] + path = libraries/drivers/mcp3421 + url = https://github.com/adafruit/Adafruit_CircuitPython_MCP3421.git diff --git a/docs/drivers.rst b/docs/drivers.rst index 0a8c737c..e862c208 100644 --- a/docs/drivers.rst +++ b/docs/drivers.rst @@ -498,6 +498,7 @@ These provide functionality similar to ``analogio``, ``digitalio``, ``pulseio``, MCP2515 CAN bus controller MCP230xx GPIO Expander MCP3xxx SPI ADC + MCP3421 18-bit ADC MCP4725 Digital-to-Analog Converter MCP4728 4-Channel, 12-bit Digital-to-Analog Converter MPR121 Capacitive Touch Sensor diff --git a/libraries/drivers/mcp3421 b/libraries/drivers/mcp3421 new file mode 160000 index 00000000..975d1af0 --- /dev/null +++ b/libraries/drivers/mcp3421 @@ -0,0 +1 @@ +Subproject commit 975d1af03f4a5d95fed56a845576097dc7c7328d