-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for 2 SX1509B I/O Expanders #379
base: v3.01-dev
Are you sure you want to change the base?
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.