diff --git a/MCP23008-MCP23017.md b/MCP23008-MCP23017.md index b1561490..76595c88 100644 --- a/MCP23008-MCP23017.md +++ b/MCP23008-MCP23017.md @@ -131,11 +131,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: Interrupt message on HIGH for input pin 0 - -`19:28:57 MQT: stat/sonoff/RESULT = {"Time":"2018-07-29T19:28:57","MCP230XX_INT":{"D0":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}}` +``` +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._ \ No newline at end of file