From c970a588c4684f8b1ff5f6b9eb7192210d4159d0 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Fri, 14 Jun 2019 15:01:53 -0400 Subject: [PATCH] Updated MCP23008 MCP23017 (markdown) --- MCP23008-MCP23017.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MCP23008-MCP23017.md b/MCP23008-MCP23017.md index ca9d021d..89f364dd 100644 --- a/MCP23008-MCP23017.md +++ b/MCP23008-MCP23017.md @@ -18,7 +18,7 @@ You will need to pick an I2C address in either of the above scenario's using the ![MCP23008 / MCP23017 I2C Address Map](https://github.com/andrethomas/images/blob/master/mcp230xx/i2c_address_map.png) -You will need to define the address you are using in the user_config.h or user_config_override.h (if you use that method) for the driver to know which address the MCP23008/MCP23017 is expected to be found. +You will need to define the address you are using in user_config_override.h for the driver to know which address the MCP23008/MCP23017 is expected to be found. `#define USE_MCP230xx_ADDR 0x20` @@ -28,7 +28,7 @@ OUTPUT functionality is however available as pinmode 5 (Documented later in this The driver is disabled by default in the Tasmota firmware so the only way to gain its use would be to perform a manual compilation of your own firmware. -There are three different levels in which functionality may be enabled, in the following order, by removing the remove the comment (#) out the relevant lines in the user_config.h file (or added to the user_config_override.h file if you are using that option.) +There are three different levels in which functionality may be enabled, in the following order, by removing the remove the comment (#) out the relevant lines in user_config_override.h.) ``` #define USE_MCP230xx // Enable INPUT mode (pinmode 1 through 4) #define USE_MCP230xx_OUTPUT // Enable OUTPUT mode (pinmode 5) @@ -63,7 +63,7 @@ If you do not find it, check your wiring and pin configuration. The configuration of MCP23008/MCP23017 by using sensor29 commands via serial, web console or MQTT messages -In order to use the MCP23008/MCP23017 in your build you need to remove the comment (#) for the following two lines in your user_config.h or user_config_override.h as the MCP chip support is not enabled by default +In order to use the MCP23008/MCP23017 in your build you need to remove the comment (#) for the following two lines in your user_config_override.h as the MCP chip support is not enabled by default ``` #define USE_MCP230xx @@ -353,7 +353,7 @@ sensor29 intretain,pin,x // Enable/Disable interrupt counting for pin (x=0=O *** ### OUTPUT FUNCTIONS (PIN MODES 5 AND 6) -Enable OUTPUT support by removing the comment (#) for the following compiler directive to your user_config.h +Enable OUTPUT support by removing the comment (#) for the following compiler directive to your user_config_override.h `#define USE_MCP230xx_OUTPUT`