Add Support for 2 SX1509B I/O Expanders#379
Add Support for 2 SX1509B I/O Expanders#379ajquick wants to merge 9 commits intoDuet3D:v3.01-devfrom
Conversation
…use the reprap.UsingLinuxInterface() if HAS_LINUX_INTERFACE is true.
…ization of the I2C network. (Technically not needed since it was already initialized in a previous function).
|
Currently this is functioning as follows: Additional IO board is found and correctly identified as having two SX1509B chips. Diagnostics reports back:
However, it does not appear that any commands sent to the newly assigned pins prefixed with "0x3F." are doing anything. However, using the other name for the same pins ("sx1509b2.") works. Not sure why that is. |
Pins must be lowercase.
Fix typo in diagnostic reporting.
|
I found that I had a typo (3E vs 3F) and the logical pin names were capitalized. I have fixed that and everything is now working 100% as expected. |
|
Just following up to see if this will be added in the next release? |
…lection Object selection was not functioning properly
|
Unfortunately there was insufficient free flash memory space to include this change in RRF 3.4.0. I will look at it again in RRF 3.5 if we are successful in freeing up more space. |
These changes add the ability to have an additional I/O expander on the Duet 2.
Pin definitions added:
220-235: SX1509b has also added an alias of '0x71'
236-251: SX1509b2 has been added, also with an alias of '0x3F'.
A bug fix was also included related to build errors that occurred when HAS_LINUX_INTERFACE was set to false.