mirror of https://github.com/arendst/Tasmota.git
Updated MCP23008 MCP23017 (markdown)
parent
670b615794
commit
a23efed727
|
@ -268,29 +268,32 @@ Where x is the number of 50ms cycles (between 0 and 20) which will be skipped be
|
||||||
|
|
||||||
For example, lets assume you only want the interrupt polling to occur every 500ms (i.e. twice per second) you could do command:
|
For example, lets assume you only want the interrupt polling to occur every 500ms (i.e. twice per second) you could do command:
|
||||||
|
|
||||||
`sensor29 intpri,10 // interrupt polled every 10*50 milliseconds, approximated`
|
```
|
||||||
|
sensor29 intpri,10 // interrupt polled every 10*50 milliseconds, approximated
|
||||||
|
```
|
||||||
|
|
||||||
### ADVANCED FUNCTION #2 - INTERRUPT DEFFER (INTDEF)
|
### ADVANCED FUNCTION #2 - INTERRUPT DEFFER (INTDEF)
|
||||||
|
|
||||||
Syntax:
|
Syntax:
|
||||||
|
```
|
||||||
`sensor29 intdef,pin // Will provide current setting of pin`
|
sensor29 intdef,pin // Will provide current setting of pin
|
||||||
`sensor29 intdef,pin,x // Will set new deffer value to x (0-15)`
|
sensor29 intdef,pin,x // Will set new deffer value to x (0-15)
|
||||||
|
```
|
||||||
|
|
||||||
### ADVANCED FUNCTION #3 - INTERRUPT TIMER (INTTIMER)
|
### ADVANCED FUNCTION #3 - INTERRUPT TIMER (INTTIMER)
|
||||||
|
|
||||||
Syntax:
|
Syntax:
|
||||||
|
```
|
||||||
`sensor29 inttimer // Will provide the current amount of seconds for timer`
|
sensor29 inttimer // Will provide the current amount of seconds for timer
|
||||||
`sensor29 inttimer,x // Allows setting number of seconds (x) for timer interval`
|
sensor29 inttimer,x // Allows setting number of seconds (x) for timer interval
|
||||||
|
```
|
||||||
### ADVANCED FUNCTION #4 - INTERRUPT COUNTER ENABLE (INTCNT)
|
### ADVANCED FUNCTION #4 - INTERRUPT COUNTER ENABLE (INTCNT)
|
||||||
|
|
||||||
Syntax:
|
Syntax:
|
||||||
|
```
|
||||||
`sensor29 intcnt,pin // Readback current setting of interrupt counting for pin (0=OFF/1=ON)`
|
sensor29 intcnt,pin // Readback current setting of interrupt counting for pin (0=OFF/1=ON)
|
||||||
`sensor29 intcnt,pin,x // Enable/Disable interrupt counting for pin (x=0=OFF,x=1=ON)`
|
sensor29 intcnt,pin,x // Enable/Disable interrupt counting for pin (x=0=OFF,x=1=ON)
|
||||||
|
```
|
||||||
***
|
***
|
||||||
### OUTPUT FUNCTIONS (PIN MODES 5 AND 6)
|
### OUTPUT FUNCTIONS (PIN MODES 5 AND 6)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue