-
Notifications
You must be signed in to change notification settings - Fork 70
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
I2C Expander #90
Comments
You can implement this rather easily by implementing the ExtendedIOElement interface: MIDI_controller/src/ExtendedInputOutput/ExtendedIOElement.h Lines 31 to 39 in 815c869
The documentation of ExtIO in the MIDI Controller library is rather poor, so I'd recommend checking out its successor, the Control Surface library. Take a look at the interface here: Take a look at how the AnalogMultiplex class is implemented: Do note that you can't use rotary encoders with I2C expanders, as they require interrupts. You could implement it, but it's not supported by the library. |
I´m trying to address some digital pins to a PCF8574 i2c port expander but my programing skills are not so good, maybe some ready library could create virtual i2c pins so this midi library would not need to include the i2c code and would see them as regular pins. Any ideas? |
Hi, I'm using Arduino Leonardo and your Library works perfect! However I'd like to make MIDI controller using I2C expanders such as PCF8574. Is there possible to implement this? I tried to do this, but no success. In my MIDI controller I want to put 8 encoders with buttons and additionally 16 more switches.
The text was updated successfully, but these errors were encountered: