mirror of https://github.com/arendst/Tasmota.git
Updated MCP23008 MCP23017 (markdown)
parent
fe004c7e48
commit
9a85750602
|
@ -126,7 +126,12 @@ Again, this will depend on whether an MCP23008 or MCP23017 is used insofar that
|
|||
|
||||
Interrupts will report for individual pins as and when the conditions which were configured are met and will look something like this:
|
||||
|
||||
`21:50:05 MQT: stat/sonoff/RESULT = {"Time":"2018-07-05T21:50:05","MCP230XX_INT":{"Pin":"D1", "State":0}}`
|
||||
Interrupt message on HIGH for input pin 0
|
||||
|
||||
`21:50:11 MQT: stat/sonoff/RESULT = {"Time":"2018-07-05T21:50:11","MCP230XX_INT":{"Pin":"D1", "State":1}}`
|
||||
`19:28:57 MQT: stat/sonoff/RESULT = {"Time":"2018-07-29T19:28:57","MCP230XX_INT":{"D0":1}}`
|
||||
|
||||
Interrupt message on LOW for input pin 1
|
||||
|
||||
`19:28:57 MQT: stat/sonoff/RESULT = {"Time":"2018-07-29T19:28:57","MCP230XX_INT":{"D1":0}}`
|
||||
|
||||
_Finally, keep in mind that the MCP23008/MCP23017 chip will only store the last interrupt registered in the interrupt register and capture register - Because the interrupt register is only checked every 50 milliseconds by the Tasmota firmware you may experience missed interrupts if your incoming signals fluctuate/change faster than 20 times per second._
|
Loading…
Reference in New Issue