mirror of https://github.com/arendst/Tasmota.git
Updated MCP23008 MCP23017 (markdown)
parent
9d91c065e1
commit
1229d9a0b0
|
@ -182,11 +182,9 @@ _Finally, keep in mind that the MCP23008/MCP23017 chip will only store the last
|
|||
|
||||
|
||||
***
|
||||
### EXPERIMENTAL OUTPUT FUNCTIONS (Take a step on the wild side :))
|
||||
### OUTPUT FUNCTIONS
|
||||
|
||||
An output version of xsns_29_mcp230xx.ino can be found here https://github.com/andrethomas/Sonoff-Tasmota/blob/mcp230xx_output/sonoff/xsns_29_mcp230xx.ino
|
||||
|
||||
Replacing the original file with the one above will allow you to enable experimental OUTPUT support by adding the following compiler directive to your user_config.h
|
||||
Enable OUTPUT support by uncommenting the following compiler directive to your user_config.h
|
||||
|
||||
`#define USE_MCP230xx_OUTPUT`
|
||||
|
||||
|
@ -206,6 +204,4 @@ sensor29 0,OFF // Turn pin 0 OFF/LOW/0
|
|||
sensor29 0,T // Toggle the current state of pin 0 from HIGH to LOW or LOW to HIGH
|
||||
```
|
||||
|
||||
Please note that this functionality is EXPERIMENTAL and support is not guaranteed.
|
||||
|
||||
As at the time of writing this, the above functionality is not yet staged for implementation in the Tasmota development branch.
|
||||
_Output support is marked to be included in the correct sections of the Wiki further up as soon as I find the time to do so_
|
Loading…
Reference in New Issue