Commit Graph

37 Commits

Author SHA1 Message Date
MadDoct e08c16c5ca
Merge branch 'development' into patch-4 2018-08-14 23:52:26 +01:00
MadDoct 2d36f2e447
Added interlocking output in pairs
If Setoption14 is set
The output pins will have paired interlocking (D0 with D1, D2 with D3, etc...) as long as:
They have the same mode (both have pinmode 5 or both have 6)
2018-08-14 23:49:34 +01:00
andrethomas 1b714b0320
Update xsns_29_mcp230xx.ino 2018-08-14 21:45:56 +02:00
andrethomas 50f2eb3811
Update xsns_29_mcp230xx.ino 2018-08-14 21:44:33 +02:00
andrethomas db223b9d10
Update xsns_29_mcp230xx.ino 2018-08-14 21:41:17 +02:00
andrethomas 18f47be237 Cleanup #else and #endif statements with // USE_MCP230xx_OUTPUT comments 2018-08-14 21:36:10 +02:00
MadDoct b946d9e233
Update xsns_29_mcp230xx.ino 2018-08-14 18:35:18 +01:00
MadDoct 4d9a034663
Change output data some more... 2018-08-14 16:45:06 +01:00
MadDoct 48b6ee20ed
add pinmode 6 for inverted output and changed some data output 2018-08-14 00:13:56 +01:00
andrethomas e5a80df2ef Rename mcp230xx_config[].b4 to mcp230xx_config[].saved_state 2018-08-12 00:32:56 +02:00
MadDoct 90e3d77ad5
Increase human readability of the output data 2018-08-10 18:29:45 +01:00
andrethomas 6c3072f864 MCP23008/MCP23017 - Extend sensor29 command to enable output 2018-08-09 11:46:14 +02:00
andrethomas 1ecb6e5f4d
Update xsns_29_mcp230xx.ino
Making the result more usefull to integrate into sensors or switches in home assistant
2018-08-05 17:50:11 +02:00
andrethomas 3c62263bb3 Add extended sensor29 reset commands 2018-08-04 01:05:27 +02:00
andrethomas a6bfe9b4f1
Update xsns_29_mcp230xx.ino 2018-08-01 18:08:42 +02:00
andrethomas 33d2857384 Add event command when interrupt is detected 2018-08-01 17:56:08 +02:00
andrethomas caf88ddc45 Extend sensor29 pin,? command by adding to MCP230XX_SENSOR_RESPONSE to provide current state of pin (0/1=LOW/HIGH) 2018-07-31 18:44:31 +02:00
andrethomas c190de7bae Make interrupt output more rule friendly 2018-07-29 19:28:16 +02:00
andrethomas ad53d16c2e Fix bug in MCP230xx_CheckForInterrupt() 2018-07-29 15:25:00 +02:00
andrethomas bd536d2d95 Opto'd MCP230xx_Show() shaving off another 92 bytes of flash 2018-07-24 19:36:30 +02:00
andrethomas 068a42c4f3 Optimize MCP230xx_CheckForInterrupt() and MCP230xx_ApplySettings() 2018-07-23 19:46:41 +02:00
andrethomas 7285aa356f MCP23008/MCP23017 bugfix - Only check for interrupts if enabled on at least one pin 2018-07-22 22:40:26 +02:00
andrethomas 4d1981dca3 Simplify MCP230xx_ApplySettings 2018-07-21 22:04:18 +02:00
andrethomas 9731b13fd6 Removed WEB CONFIG option and extended sensor29 commands 2018-07-21 18:04:36 +02:00
andrethomas 55691affaa Bugfix on MCP230xx driver 2018-07-21 14:24:34 +02:00
andrethomas 4f86c5d6f1 Bugfix on MCP230xx driver 2018-07-21 14:17:48 +02:00
andrethomas e6c5553059 Move MCP230xx_Detect() from FUNC_PREP_BEFORE_TELEPERIOD to FUNC_EVERY_SECOND 2018-07-17 21:18:26 +02:00
Theo Arends f10b92a995 Add support for MCP230xx
Add support for MCP230xx for general purpose input expansion and command Sensor29 (#3188)
2018-07-17 11:05:31 +02:00
andrethomas 9be31ab605 Added FPSTR to constants 2018-07-14 15:07:01 +02:00
andrethomas d8c4f8bb7e Remove F() from page.replace() and reference PROGMEM const's for replacement content 2018-07-14 14:46:09 +02:00
andrethomas 1c1436d7ed
Put back the %s 2018-07-14 01:04:46 +02:00
andrethomas 616c6669a9
Remove unwanted %s
Remove unwanted %s from const char HTTP_SNS_MCP230xx_GPIO[]
2018-07-14 00:33:42 +02:00
andrethomas 8089c8630c Fixed some progmem attempts 2018-07-13 10:28:55 +02:00
andrethomas a48c251be0 Fixed sensor23 JSON output and moved it to progmem 2018-07-13 10:04:08 +02:00
andrethomas 79fb392e45 Added XdrvMailbox.index validation for FUNC_COMMAND 2018-07-13 08:27:33 +02:00
andrethomas aafeca8afc Update MCP230xx to make web config optional and added sensor29 command parameters 2018-07-12 23:12:01 +02:00
andrethomas 401ee8f87d Updated MCP230xx driver 2018-07-11 21:16:37 +02:00