Hi,
I'm currently working on a project that uses the Arduino DUE as the "brain" of everything. Esentially I need to get as much I/O out of this board as possible. I have hit a wall when trying to use pins 20(SDA) and 21(SCL) configured as INPUTS. My external circuitry is designed to ground the pins when the circuit is OFF and pull them to 3.3V using a 30k resistor when ON. For this to work the internal pull-up resistors on the Arduino have got to be disabled (which as I understand should happen by default when configuring the pin via pinMode( ) as an input). As these pins are used for I2C i understand they are by default pulled to 3.3V instead, when the I2C bus is empty. Is there a way to disable these pull-up resistors ? And if so, will I still be able to access the the I2C bus through the other two different pins on the microcontroller? (D20 and D21 have 2 different sets of physical pins assigned on the Arduino microcontroller).
Thank you,
Andrei.