I was wondering if somebody ever modified this sketch ( http://playground.arduino.cc/Main/I2cScanner
) in order to work fine with an Arduino DUE.
When i run the sketch on my Arduino UNO, it perfectly recognizes the three I2C devices I've connected to the bus, but when I load it to the DUE no devices are recognized anymore.
I've tried everything, different pull-ups, switched between the two different I2C/TWI ports, inserted delays between functions, but nothing to do.
(I've also disconnected the 1.5k (actually 1k) pull-up on the DUE and placed external 4.7k pull up on both sda0-sck0 and sda1-sck1 to have similar delays everywhere.)
I've already questioned this forum (http://forum.arduino.cc/index.php?topic=180552.0
) for some issues with those I2C. Before it was totally a logic level incompatibility, but now I'm having a perfect 3.3 to 5V bidirectional translation (checked with the scope).