Well, this is awkward...
I've been searching for the solution for days with no avail, but as soon as I posted this I found the solution.
The library code is wrong.
When using due, one shouldn't use
Wire.endTransmission();
after
Wire.requestFrom();
Well, this is awkward...
I've been searching for the solution for days with no avail, but as soon as I posted this I found the solution.
The library code is wrong.
When using due, one shouldn't use
Wire.endTransmission();
after
Wire.requestFrom();