But, just coming here and saying "it doesn't work" isn't going to help you either. Why not specify why it doesn't work?
Do you have a level converter for the LCD? The Due operates at 3.3V.Do you get a compile error, or is it compiling but not running as expected?
There is absolutely nothing wrong with the Due I2C library - I've been using it for years with zero problems.
No, I haven't used level converter for the following reasons: there is information DUE has pull-up resistors for 3.3v logic, another reason - the same LCD screen works with Wemos D1 (Arduino like board with 3.3v logic).But it is a good point, I will try to use level converter, just in case.
The I2C scanner must work. Fix that first.Did you connect the grounds? Did you connect to the correct pins on the Due? It's different to the other Arduinos.
MorganS, YES! Thank you mate.I powered DUE and LCD screen from different power sources, so grounds didn't connect.Connecting grounds solves the issue!I'm so stupid...
I almost didn't write "connect the grounds" because it seemed like you were already beyond that.Yes, it's a simple mistake, easy to make.
I guess your display functions even on 3v3 power I take it?