mirror of https://github.com/arendst/Tasmota.git
Updated MCP23008 MCP23017 (markdown)
parent
168e5dfe4e
commit
aec3877376
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue