aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Config_Reference.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Config_Reference.md')
-rw-r--r--docs/Config_Reference.md19
1 files changed, 12 insertions, 7 deletions
diff --git a/docs/Config_Reference.md b/docs/Config_Reference.md
index bc99bd94..3fd035a6 100644
--- a/docs/Config_Reference.md
+++ b/docs/Config_Reference.md
@@ -4392,16 +4392,21 @@ prefix).
### [mcp4018]
-Statically configured MCP4018 digipot connected via two gpio "bit
-banging" pins (one may define any number of sections with an "mcp4018"
-prefix).
+Statically configured MCP4018 digipot connected via i2c (one may
+define any number of sections with an "mcp4018" prefix).
```
[mcp4018 my_digipot]
-scl_pin:
-# The SCL "clock" pin. This parameter must be provided.
-sda_pin:
-# The SDA "data" pin. This parameter must be provided.
+#i2c_address: 47
+# The i2c address that the chip is using on the i2c bus. The default
+# is 47.
+#i2c_mcu:
+#i2c_bus:
+#i2c_software_scl_pin:
+#i2c_software_sda_pin:
+#i2c_speed:
+# See the "common I2C settings" section for a description of the
+# above parameters.
wiper:
# The value to statically set the given MCP4018 "wiper" to. This is
# typically set to a number between 0.0 and 1.0 with 1.0 being the