mirror of https://github.com/arendst/Tasmota.git
Updated MCP23008 MCP23017 (markdown)
parent
30f3642e94
commit
8c21e764c0
|
@ -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:
|
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
|
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
|
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._
|
_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