Wow, amazing !
I just added the 2 lines you suggested in the setup function of the program (no need to modify the library) and it works.
A great thanks for your rapid and effective help
Thank’s for your answer.
Sorry for this newbie question, but I didn’t integrate the source code but used then Unit-Env library,
So do I should create the .h and .cpp files for all sources (width the update you propose) and it will replace the default library ?
Or maybe it would be better to uninstall it first ?
I just bougth a M5StickCPlus and a ENV III hat. It's my first contact with M5Stack.
I downloaded the code sample here
No problem to compile neither to run, but it always returns 0.
So I tried to change some parameters, especially in this line:
I tried with Wire.begin(0,26); and Wire.begin();
But always the same problem.
Could the module be defectuous ?
Thank's for your help