mirror of https://github.com/arendst/Tasmota.git
Updated MCP23008 MCP23017 (markdown)
parent
1229d9a0b0
commit
1c1ec8087d
|
@ -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:
|
The command will respond with confirmation as follows:
|
||||||
|
|
||||||
`MQT: stat/sonoff/RESULT = {"Sensor29D99":{"MODE":pinmode,"PULL-UP":pullup,"STATE":99}}`
|
`MQT: stat/sonoff/RESULT = {"Sensor29-D99":{"MODE":pinmode,"PULL-UP":pullup,"STATE":99}}`
|
||||||
|
|
||||||
Pin and State is reported as 99 because it was implemented accross all pins.
|
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:
|
Will report as follows:
|
||||||
|
|
||||||
`MQT: stat/sonoff/RESULT = {"Sensor29D0":{"MODE":1,"PULL-UP":0,"STATE":0}}`
|
`MQT: stat/sonoff/RESULT = {"Sensor29-D0":{"MODE":1,"PULL-UP":0,"STATE":0}}`
|
||||||
|
|
||||||
Confirming that the pin is in pinmode 1 and that the pull-up resistor is not enabled.
|
Confirming that the pin is in pinmode 1 and that the pull-up resistor is not enabled.
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@ _Finally, keep in mind that the MCP23008/MCP23017 chip will only store the last
|
||||||
|
|
||||||
|
|
||||||
***
|
***
|
||||||
### OUTPUT FUNCTIONS
|
### OUTPUT FUNCTIONS (PIN MODE 5)
|
||||||
|
|
||||||
Enable OUTPUT support by uncommenting the following compiler directive to your user_config.h
|
Enable OUTPUT support by uncommenting the following compiler directive to your user_config.h
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue