I2C on Due - RequestFrom() always returns number of bytes requested

Hi All,

I just started using a Due in place of a Mega for a project I'm working on. After modifying the code a bit, I was able to upload it and successfully see it working except for an issue with I2C. It seems as if the requestFrom() function keeps returning the number of bytes requested even when there's nothing attached to the I2C pins. I've been looking up solutions but haven't been able to see much, is this an issue with the Wire library? I retested on my Mega and it's working completely fine on there. Any help would be appreciated, thanks in advance!

Pat

Strange. I don't have a Due to test it. Do you use the newest library ?
Could you test the return value of Wire.endTransmission() ? If that did fail, there is no need to request data.