DCC-EX / EX-IOExpander

Digital and Analogue I/O expander using Arduino AVR
GNU General Public License v3.0
8 stars 5 forks source link

[Feature Request]: Allow disabling I2C pullups #29

Closed peteGSX closed 1 year ago

peteGSX commented 1 year ago

Problem/idea statement

It would be good to have a way to disable the I2C pullups on an EX-IOExpander device when using it in an I2C bus with other devices to ensure the resistance doesn't become too low for the bus to work, and increase reliablity.

Alternatives or workarounds

The only way to do this is to edit the code and execute digitalWrite(A4, LOW) and digitalWrite(A5,LOW) after Wire.begin() on a Nano/Uno for example to turn the pullups off.

Additional context

No response