From 9a85750602a7978561259afc68c7a1a7be759d18 Mon Sep 17 00:00:00 2001 From: andrethomas Date: Sun, 29 Jul 2018 20:37:37 +0200 Subject: [PATCH] Updated MCP23008 MCP23017 (markdown) --- MCP23008-MCP23017.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/MCP23008-MCP23017.md b/MCP23008-MCP23017.md index 826eb23f..15e1ff04 100644 --- a/MCP23008-MCP23017.md +++ b/MCP23008-MCP23017.md @@ -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._ \ No newline at end of file