From aec38773761006dfbb4ba8b5a22b21a0902f3714 Mon Sep 17 00:00:00 2001 From: andrethomas Date: Tue, 7 Aug 2018 09:24:05 +0200 Subject: [PATCH] Updated MCP23008 MCP23017 (markdown) --- MCP23008-MCP23017.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MCP23008-MCP23017.md b/MCP23008-MCP23017.md index 3247ff7b..06c877d0 100644 --- a/MCP23008-MCP23017.md +++ b/MCP23008-MCP23017.md @@ -58,7 +58,7 @@ sensor29 reset4 // Reset all pins INT on HIGH, with pull-up enabled by default The command will respond with confirmation as follows: -`MQT: stat/sonoff/RESULT = {"Sensor29":{"D":99,"MODE":pinmode,"PULL-UP":pullup,"STATE":99}}` +`MQT: stat/sonoff/RESULT = {"Sensor29D99":{"MODE":pinmode,"PULL-UP":pullup,"STATE":99}}` Pin and State is reported as 99 because it was implemented accross all pins. @@ -78,7 +78,7 @@ The configuration of a specific pin may be queried using command: Will report as follows: -`MQT: stat/sonoff/RESULT = {"Sensor29":{"D":0,"MODE":1,"PULL-UP":0,"STATE":0}}` +`MQT: stat/sonoff/RESULT = {"Sensor29D0":{"MODE":1,"PULL-UP":0,"STATE":0}}` Confirming that the pin is in pinmode 1 and that the pull-up resistor is not enabled.